Linux mail command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx

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

Paul


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux