Operating System - Linux
1832645 Members
2678 Online
110043 Solutions
New Discussion

Re: "Pretending" to be another mail domain on RHEL 2.1

 
Jose Goyana_3
Occasional Advisor

"Pretending" to be another mail domain on RHEL 2.1

Hi!
My hostname is abc.bank.sa and changing it wouldn't be viable because OracleAS is installed there.
I wish to send emails to the Internet through an automated Linux routine using a SMTP relay BUT, as long as current SMTP servers do reverse DNS, I do need to send emails as if machine's domain was bank.com.br
What could I possibly do?

Regards,
Jose
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: "Pretending" to be another mail domain on RHEL 2.1

Shalom Jose,

Quick and dirty: Set the Dj directive in /etc/sendmail.cf

Make sure the public DNS records match the Dj statement.

Djbank.com.br

service sendmail restart

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com