On Fri, Jul 29, 2011 at 7:58 AM, Wade Preston Shearer <[email protected]> wrote: > In /etc/aliases, under "person who should receive root's mail," I have an > external email address. Mail > sent to root is successfully delivered to this address. When scripts that my > cron jobs run fail, mail error > reports are emailed to root. These messages to root are put in root's inbox > on the server however instead > of being send along to the "person who should receive root's mail." Any idea > why? > >
Is MAILTO set in the crontab to anything funny? Also, there's this option if you're in Ubuntu (I'm not...): you may need to mess with /etc/mailname to make it match your server name. http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_the_mail_address_configuration This guy is on Ubuntu and had a similar problem: http://www.streamreader.org/askubuntu/questions/732/how-do-i-make-cron-email-my-gmail-account Good luck, Paul **This e-mail was written pre-coffee consumption. Author claims no responsibility for all cursing within.** /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
