urgrue wrote: > 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. 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 user@xxxxxxxxxxxxxxx This will show each rule which is considered, whether or not it matched and, for rules which match, the re-written address. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html