James Flores

26Mar/100

Setup Mythbuntu SMTP email delivery

Wouldn't it be nice if the Mythbuntu distribution could email you output from the cronjobs? Below is a short guide to allow your Mythbuntu distribution to send emails:

Open terminal session and "su - root"

apt-get install mailutils

this installs exim4

Run:

dpkg-reconfigure exim4-config

Keep these settings or adjust to suit yourself:
* This machine is an: Internet Site
* Keep machine name
* Listen on default IP (localhost)
* Relay for none
* DNS queries minimal - answer no
* maildir format in homedir
* split config - answer no

Test your email is working by issuing the command:

echo | mail email@domain.com

Check your spam box as well if it didn't arrive in your inbox.

Control-D in terminal to log out as a root and back to normal user

Run:

crontab -e

Add this to the first line:

MAILTO="youremail@domain.com"

Any output from cron will now be emailed to you.

Filed under: General Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.