Hugo Bouckaert wrote:
> I am running sendmail-8.9.3-10 on our mail server. We have the problem
> that the recipient of mail sent from a certain computer from within our
> domain has the sender's computer's machine name in the "To:" header.
>
> eg when I receive a message sent from one of our computers called
> "pent-200",
> I get
>
> >From [EMAIL PROTECTED]
> To [EMAIL PROTECTED]
>
> in the message header.
>
> I would like to take the "pent-200" (or whatever machine name it may be)
> out of the "To:" address.
>
> I have the following options set in the server's sendmail.cf
> configuration file:
>
> FEATURE(nouucp)
> FEATURE(redirect)
> FEATURE(always_add_domain)
> FEATURE(use_cw_file)
> FEATURE(local_procmail)
> FEATURE(masquerade_envelope)
> FEATURE(allmasquerade)
> FEATURE(masquerade_entire_domain)
> FEATURE(relay_entire_domain)
>
> I thought that "FEATURE(masquerade_entire_domain)" would take care of
> this problem, but apparently it doesn't. Does anyone know how to solve
> this problem?
You have to tell sendmail which domains you wish to masquerade, by
adding them to class M. To do this from m4, either:
a) use e.g.
MASQUERADE_DOMAIN(foo.com)
b) use e.g.
MASQUERADE_DOMAIN_FILE(/etc/mail/sendmail.cM)
and add the domains to this file.
--
Glynn Clements <[EMAIL PROTECTED]>
-====---====---====---====---====---====---====---====---====---====---====-
to unsubscribe email "unsubscribe linux-admin" to [EMAIL PROTECTED]
See the linux-admin FAQ: http://www.kalug.lug.net/linux-admin-FAQ/