Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm finishing biulding our new server, based on 12.04 32-bit desktop version. I've set up a few cron tasks, that are running as they're supposed.

only, I've added the MAILTO = "" environnement variable to be notified when tasks are running, and nothing seems to pass through.

According to logs, (and the created files) my cron tasks are running, but no mail is being sent; both /var/log/mail.log and /var/log/mail.err are empty.

Is there a mail-server automatically installed with ubuntu? Is it what's used by the cron process to send its notifications?


share|improve this question
up vote 0 down vote accepted

Is there a mail-server automatically installed with ubuntu?

No. Mail cron would normally send out would just get stuck in that user's local maildir and go no further.

If you want mail sent out, you need to install a mail server. Postfix is capable and secure and installing it is just an apt-get install postfix away.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.