Linux mail command

Paul Ward pnward at googlemail.com
Mon Sep 4 21:09:11 UTC 2006


Hi all,

I was hoping for some advice on the mail command or posfix config.

How can I send mail and change the from address to be something other than root.

eg

0 1,7,13,19 * * * cd /usr/sbin/; ./chkrootkit 2>&1 | mail -s
"chkrootkit output" pnward at googlemail.com

This returns an excellent output but its from root at mybox.
I'd like it to come from chkrootkit at mybox

Paul




More information about the fedora-list mailing list