  | | | Changing sender address within mail | Changing sender address within mail 2007-07-05 - By John Haxby
Back d.qureshi@(protected) wrote: > 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? > I don't know about the mail command, but mutt (which is functionally very similar for this purpose) has an environment variable that you cat set to specify the From: address -- according to the man page it's EMAIL and I use it for scripts like yours.
The other technique I used from time to time is simply to talk to port 25 and construct the entire conversation and then I have complete control over who the message is from, well, to within whatever sanitary checks the listener on that port makes :-)
jch
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |