Sendmail configuration help for my PE1850 / RHEL4ES...
Daniel_Shaw at Dell.com
Daniel_Shaw at Dell.com
Wed Jun 21 08:39:54 CDT 2006
Hi there,
> -----Original Message-----
> Sent: Wednesday, June 21, 2006 2:24 PM
> To: linux-poweredge-Lists
> Subject: RE: Sendmail configuration help for my PE1850 / RHEL4ES...
>
> When i try from another user than root, it seems ok...
Actually this jogged my memory..
> EXPOSED_USER(`root')dnl
The above is what is causing this. It creates the sendmail.cf such that
any mail from the name 'root' are exposed as coming from the local host
name, even if masquerading is set up.
- Daniel
> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
> FEATURE(`accept_unresolvable_domains')dnl
> LOCAL_DOMAIN(`localhost.localdomain')dnl
> FEATURE(masquerade_envelope)
> FEATURE(masquerade_entire_domain)
> FEATURE(`allmasquerade')
> MASQUERADE_AS(`company.com.')
> MASQUERADE_DOMAIN(`company.com.')
> MASQUERADE_DOMAIN(localhost)
> MASQUERADE_DOMAIN(localhost.localdomain)
> MASQUERADE_AS(company.com)
> MAILER(smtp)
> MAILER(procmail)
>
> Actually, using a command such as [root at myserver ~]# mail
> me at mycompany.com
> < ./.bash_profile send me an email from
> root at myserver.company.lan ;-((
>
More information about the Linux-PowerEdge
mailing list