Re: Changing sender address within mail
Jussi Silvennoinen <[email protected]> Thu, 5 Jul 2007 15:21:32 +0300 (EEST)
| Newsgroups | gmane.linux.redhat.release.taroon.general |
|---|---|
| Message-ID | <[email protected]> |
> I have a shell script which checks disk space. I the use mail > command to send a mail messages to myself and other users to notify the > status of disk space. > > When I receive the mail message notification it has my email address > as the sent address but I wish to change the sender address > to info-nflX8i9UMe2dZ29H/[email protected] > > I cannot see an option within the mail command to specify a sender's address. > > Any ideas how I can change the out going sender's address? Use the sendmail-binary directly but do add all the required (by RFC's) headers yourself. ./foo.sh | sendmail -f [email protected] [email protected] -- Jussi -- Taroon-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/taroon-list