Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

My cron jobs are trying to mail their results using the local mail feature of Ubuntu (not internet email, the kind of mail you can read with mutt). However, /var/log/syslog reports

/USR/SBIN/CRON[19212]: (speedtax) MAIL (mailed 52 bytes of output but got status 0x0006 )

I would like to setup local mail (so that cron can deliver the output successfully) but do not want to setup internet email. Everything I find on google is about the latter.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

sudo apt-get install postfix (or if you really must, sendmail). Then you can configure your /etc/aliases (and run sudo newaliases after that) to redirect mail from e.g. root wherever you want - including an internet email address, but by default Ubuntu sets it as the user who installed the system.

share|improve this answer
add comment

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.