Questions tagged [email]

Sending, receiving, reading, composing, sorting, and generally working with email. For the mail(1) command line utility, see the tag /mail-command.

This tag covers all issues related to email on unix systems, including:

If your question is about a specific program, use the tag for that program. For more generic questions, such as when you aren't sure which tool to use for a specific purpose, use a general tag such as , or .

1340 questions
104
votes
6 answers

Can I set up system mail to use an external SMTP server?

Is it possible to set up system mail on a linux box to be sent via a different smtp server - maybe even with authentication? If so, how do I do this? If that's unclear, let give an example. If I'm at the command line and type: cat body.txt | mail -s…
cwd
  • 44,479
  • 71
  • 146
  • 167
93
votes
4 answers

How do I completely silence a cronjob to /dev/null/?

On my Ubuntu-Desktop and on my debian-server I have a script which needs to be executed each minute (a script that calls the minute-tic of my space online browsergame). The problem is that on debian derivates cron is logging to /var/log/syslog…
rubo77
  • 27,777
  • 43
  • 130
  • 199
84
votes
5 answers

Can I change root's email address or forward it to an external address?

I'm getting a lot of mail in my root user's mail account. This appears to be mostly reports and errors from things like cron scripts. I'm trying to work though and solve these things, possibly even have them be piped to some sort of "dashboard" -…
cwd
  • 44,479
  • 71
  • 146
  • 167
79
votes
9 answers
56
votes
2 answers

Understanding /etc/aliases and what it does

This is the contents of the file /etc/aliases on my Debian (Wheezy) server, as it is: # /etc/aliases mailer-daemon: postmaster postmaster: root nobody: root hostmaster: root usenet: root news: root webmaster: root www: root ftp: root abuse:…
its_me
  • 13,709
  • 23
  • 54
  • 52
56
votes
8 answers

Is there a program that can send me a notification e-mail when a process finishes?

I am a computational scientist, and I run a lot of lengthy calculations on Linux. Specifically, I run molecular dynamics (MD) simulations using the GROMACS package. These simulations can take days or weeks, running on (for example) 8 to 24 cores. …
Andrew
  • 16,315
  • 34
  • 73
  • 77
56
votes
8 answers

Lightweight outgoing SMTP server

What do you use as a lightweight SMTP for outgoing e-mails only? I am running an app that sends e-mails via SMTP when events occur once in a while, and I don't need a fully featured e-mail server. EDIT: I am more than happy to use something like…
FlappySocks
  • 661
  • 1
  • 6
  • 6
53
votes
6 answers

Gmail blocking mutt

When I try to log in to gmail with mutt, it flashes a quick Webalert with a url, something like accounts.gmail.com or something. It's too quick for me to see or copy it. Then it says Login failed. Then I get an email from Gmail saying: Google…
aharris88
  • 1,121
  • 1
  • 10
  • 13
48
votes
9 answers

postfix/smtpd: warning: connect to Milter service unix:/var/run/opendkim/opendkim.sock: No such file or directory

I have problem with postfix on debian after upgrading from squeeze to wheezy. Postfix was configured to sign messages using dkim-filter. Before update, everything was working flawlessly, now it fails on connection with service (tcp or unix…
rogers
  • 483
  • 1
  • 4
  • 4
48
votes
6 answers

How to remove "You have mail" welcome message

When I open up my terminal it says "you have mail", anyone has any idea of why? I am running OS X, but since it too is based on Unix and relies on files such as bashrc, bash_profile etc. I thought somebody here might know, and I'm not sure it's a…
user1995
41
votes
4 answers

Are there any alternatives to Mutt?

I really like the idea of Mutt, reading mail in the terminal. I'm not really pleased with some inconsistencies and the IMAP handling. I set about trying to find some alternatives to Mutt, but I can't seem to find any. What alternatives to the Mutt…
jaapz
  • 584
  • 1
  • 4
  • 9
37
votes
2 answers

Where does postfix store email?

I can't find any documentation on how postfix stores email. Where is it stored, and in what format? I'm using Ubuntu server 11
lovespring
  • 823
  • 2
  • 10
  • 14
31
votes
3 answers

Search for mail content with Mutt

Is it possible in Mutt to search for specific mail content using built-in functionality? Or, as a last resort, how can I configure grep to be used in Mutt? The documentation only mentions the search and limit functions, which only search headers.
alex_reader
  • 819
  • 2
  • 9
  • 12
30
votes
9 answers

mail: cannot send message: process exited with a non-zero status

I've had a cronjob working for about a fortnight without any problems. Then last night I checked I didn't get the email that I usually get. I went to the terminal to try send myself an email, I got the following error: mail: cannot send message:…
3kstc
  • 4,616
  • 15
  • 33
  • 49
29
votes
2 answers

Can sendmail include an attachment?

Is it possible to include an attachment with sendmail? I am generating the following emailfile.eml files with the following layout From: Company Name To: [email protected] CC: [email protected] Subject: Generated…
TheLovelySausage
  • 4,183
  • 9
  • 30
  • 49
1
2 3
89 90