Linux mail command

Bruno Wolff III bruno at wolff.to
Mon Sep 4 22:15:24 UTC 2006


On Mon, Sep 04, 2006 at 22:09:11 +0100,
  Paul Ward <pnward at googlemail.com> wrote:
> 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.

'mail' doesn't seem to provide that function. You can inject the message with
'sendmail' and specify the headers yourself. You can even change the envelope
sender address when you do this. You'll have to add some echos or the
equivalent in your cron entries to add in the headers you need.




More information about the fedora-list mailing list