Need help to configure sendmail masquerading feature on a Solaris 10 server
Hello Team,
I'm trying to configure sendmail masquerading feature on a Solaris 10 server. Our requirement is to rewrite mails from <user>@host.domain.com format to <user>@domain.com. Requesting your help/advise here to fix this issue.
I have tried below steps. I have created following *.mc files.
# cat sendmail.mc
divert(0)dnl
VERSIONID(`sendmail.mc (Sun)')
OSTYPE(`solaris10')dnl
DOMAIN(`solaris-generic')dnl
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
define(`SMART_HOST', `<RELAY SERVER NAME>')dnl
define(`confFALLBACK_SMARTHOST', `<RELAY SERVER NAME>')
FEATURE(`masquerade_envelope')
MASQUERADE_AS(`<DOMAIN NAME>')
MAILER(`local')dnl
I'm trying to configure sendmail masquerading feature on a Solaris 10 server. Our requirement is to rewrite mails from <user>@host.domain.com format to <user>@domain.com. Requesting your help/advise here to fix this issue.
I have tried below steps. I have created following *.mc files.
# cat sendmail.mc
divert(0)dnl
VERSIONID(`sendmail.mc (Sun)')
OSTYPE(`solaris10')dnl
DOMAIN(`solaris-generic')dnl
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
define(`SMART_HOST', `<RELAY SERVER NAME>')dnl
define(`confFALLBACK_SMARTHOST', `<RELAY SERVER NAME>')
FEATURE(`masquerade_envelope')
MASQUERADE_AS(`<DOMAIN NAME>')
MAILER(`local')dnl
0