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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Masquerading is not working in sendmail

Status
Not open for further replies.

sandy4tektips

Technical User
Jun 12, 2015
1
AU
Hi Guys,

I am trying to implement masquerading in Rhel 6.3, sendmail 8.14 version. We are relaying mails to a relay server. The issue is when we send mail to a local user on the server the masquerading works fine but when mails are delivering through relay server, from address remains the same "host1.abc.com".

For masquerading I have added in sendmail.mc following lines :

MASQUERADE_AS(abc.com)dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(host1.abc.com)dnl
MASQUERADE_DOMAIN(host1)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
dnl MAILER(cyrusv2)dnl

Even commented EXPOSED_USER line:

dnl # EXPOSED_USER(`root')dnl

COuld you please help me out.

RegardS,
Sandeep
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top