Wednesday, October 10, 2007

mail

This is a handy command for testing:
echo -e "sent on `date`" | mail -s "test: `hostname`" foo@domain.tld
It will send mail quickly from the command line and there's no need to muck about with any clients After running this you can go see how your message is doing in /var/spool/mqueue etc.

No comments: