masquerade exception

masquerade exception

am 05.10.2007 06:50:23 von heylow

Sendmail is configured on homer.gao.blah.com; the email is relayed to
relay.gao.blah.com. However, when I receive email from
homer.gao.blah.com, for instance, the From address appears as
"root@gao.blah.com". I want it to appear as "FROM:
root@homer.gao.blah.com", and relay to the server, so taht all aliases
linked to root@gao.blah.com" should receive email.

The existing sendmail.mc contains the following

VERSIONID(`@(#)sendmail.mc 1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
FEATURE(nullclient, relay.$m)
define(`confPRIVACY_FLAGS', ``authwarnings,noexpn,novrfy'')
MASQUERADE_AS(`gao.blah.com')



What feature should I use?

91-80-41750736

Thanks, Pedro.

Re: masquerade exception

am 05.10.2007 08:43:03 von Hans-Peter Sauer

heylow unleashed the infinite monkeys on 05/10/2007 05:50 producing:
> Sendmail is configured on homer.gao.blah.com; the email is relayed to
> relay.gao.blah.com. However, when I receive email from
> homer.gao.blah.com, for instance, the From address appears as
> "root@gao.blah.com". I want it to appear as "FROM:
> root@homer.gao.blah.com", and relay to the server, so taht all aliases
> linked to root@gao.blah.com" should receive email.
>
> The existing sendmail.mc contains the following
>
> VERSIONID(`@(#)sendmail.mc 1.11 (Sun) 06/21/04')
> OSTYPE(`solaris8')dnl
> FEATURE(nullclient, relay.$m)
> define(`confPRIVACY_FLAGS', ``authwarnings,noexpn,novrfy'')
> MASQUERADE_AS(`gao.blah.com')
>
> What feature should I use?

Take a look at the section of the README titled "MASQUERADING AND
RELAYING" and the features EXPOSED_USER and EXPOSED_USER_FILE.

--
Rob MacGregor (BOFH)

Rule 37: "There is no 'overkill'. There is only 'open fire'
and 'I need to reload.'"