Neil Schneider wrote:
> John Oliver wrote:
> >
> > How do you change the From: header when sending mail from the command
> > line with 'mail'?
> 
>  -r address
>               Sets  the From address. Overrides any from variable specified in
>               environment or startup files.  Tilde escapes are disabled.   The
>               -r  address options are passed to the mail transfer agent unless
>               SMTP is used.

Tested on:

Debian GNU/Linux 4.0
Debian GNU/Linux 3.1
Red Hat Enterprise Linux Server release 5
Red Hat Enterprise Linux ES release 4 (Update 5)
Red Hat Enterprise Linux ES release 3 (Update 8)
Red Hat Enterprise Linux ES release 3 (Update 5)
Red Hat Linux release 9
Fedora Core release 5

All failed. What version of mail are you using?

-john


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to