sendmail not masquerading domain
a sendmail of mine isnt masquerading the domains even though its supposed to.
i got another sendmail where it works and comparing the configs i cant find the difference, except for the fact that the working one is a somewhat older version of sendmail.
the relevant bit of sendmail.cf is:
CMblah.domain.com
DMrealdomain.com
the hostname is configured to blah.domain.com. shouldnt the above two lines be all i need for sendmail to masquerade mail sent as blah. domain.com to realdomain.com?
i even commented #C{E}root
also tried Djrealdomain.com
and, yes, restarted sendmail
running out of ideas....any help appreciated.
Quoted 14 lines · urgrue
a sendmail of mine isnt masquerading the domains even though its supposed to.
i got another sendmail where it works and comparing the configs i cant find the difference, except for the fact that the working one is a somewhat older version of sendmail.the relevant bit of sendmail.cf is:
CMblah.domain.com
DMrealdomain.comthe hostname is configured to blah.domain.com. shouldnt the above two lines be all i need for sendmail to masquerade mail sent as blah. domain.com to realdomain.com?
Quoted 7 lines
i even commented #C{E}root
also tried Djrealdomain.com
and, yes, restarted sendmail
running out of ideas....any help appreciated.
Use "sendmail -bt -d21.12" to debug address re-writing, e.g.:
$ sendmail -bt -d21.12 ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) Enter <ruleset> <address> > 3,1,HdrFromSMTP [email protected]
This will show each rule which is considered, whether or not it matched and, for rules which match, the re-written address.
Signature · 1 line
Glynn Clements <[email protected]>