Set default return address for all mails sent from mailx
Hi, I have a question about mailx in Red Hat:
If I use 'mail userid@mydomain.com -- -f root@mydomain.com', the return mail address will be root@mydomain.com. How can I make all mails sent from this system use root@mydomain.com as return address by default? Thank you in advance! nz |
You need to setup/enable masquerading in whatever MTA you're running (sendmail or postfix usually on RHEL).
Discussion of Sendmail masquerading in RHEL5 can be found at: http://www.linuxtopia.org/online_boo...email-mta.html |
All times are GMT -5. The time now is 05:07 PM. |