sandy4tektips
Technical User
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
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