Re: Modify From Address in Linux

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

 



On Sat, Jul 14, 2007 at 09:05:46 -0500,
  Matthew Benjamin <msbenjamin12@xxxxxxxxx> wrote:
> 
> I am just using it from command line in linux "mail some@xxxxxxxxxxxxx" it
> tells me it's from root
> I want it to tell me it's from nobody. It is a shell script I am writing to
> set up as a cronjob.

If you aren't relying on "mail" to set up attachments in the body of the
mail message, this might be a time where using sendmail to inject the
message is better than using a normal user agent. You can set up the whole
message including headers and pipe it to sendmail. Use the -f option to
set the envelope sender address for bounces and -i to ignore singleton dots.


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

  Powered by Linux