In Solaris, if I used the mailx command I could use -r to have it substitute whatever I wanted as the sender name. (mailx -s "Test" -r "Myself" john_doe@mycompany.com < /tmp/file.doc) - This would send an e-mail to john_doe@mycompany.com with the contents of /tmp/file.doc having the subject line of Test and showing it was sent by Myself (even though I was sending it as root).
The mail program in Linux doesn't seem to have this capability. Anyone know of a way to make this work? Thanks.
The mail program in Linux doesn't seem to have this capability. Anyone know of a way to make this work? Thanks.