sendmail not masquerading domain

sendmail not masquerading domain

am 16.02.2005 11:54:06 von 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.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.


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: sendmail not masquerading domain

am 17.02.2005 19:03:52 von Glynn Clements

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


> 3,1,HdrFromSMTP user@blah.domain.com

This will show each rule which is considered, whether or not it
matched and, for rules which match, the re-written address.

--
Glynn Clements
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html