Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 = "my_adress@ssss.gouv.qc.ca" 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?

thanks!

share|improve this question

1 Answer 1

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

 
discard

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.