Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sendmail masquerade

Status
Not open for further replies.

nitinkgoud

IS-IT--Management
Jun 28, 2006
87
0
0
US
Hello Guys,
Reports are being send to our external customers from a application id. The from address is something like xxx@user1.hostname.company.com. , the problem is that the customer mail server dose a reverse lookup and since from address has user1.hostname.company.com the mail delivery fails. How do i change it from user1.hostname.company.com. to newcompany.com. i want to know what needs to be changed i /etc/mail/sendmail.cf.

Please help asap.

 
Add this to your sendmail.mc, rebuild using m4, and restart Sendmail.
Code:
MASQUERADE_AS(`[b]newcompany.com[/b]')dnl

FEATURE(`masquerade_envelope')dnl

M. Brooks
 
I've also gotten around this by changing the DM option in /etc/mail/sendmail.cf and restarting sendmail.

-Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top