Re: local user FQDN or domain rewrite on outgoing mail
- From: Andrzej Adam Filip <anfi@xxxxxxx>
- Date: Wed, 12 Dec 2007 20:18:03 +0100
googlee07@xxxxxxxxx writes:
http://www.sendmail.org/m4/whoami.html
*OR*http://www.sendmail.org/m4/masquerading.html
thanks..
when it does the rewrite.. that's fine for outbound mail (envelople
FROM:).. but will it also rewrite RCPT:?
I ask because, without any masquerading turned on.. when ever i send
to root (without @domain) on the local box, and then have root alias
forwarded to an external accout, i always see 3 Received lines rather
than 2. It's puzzling me?
=======================================
RECEIVED: from host.domain.com ([2xx.9x.2xx.1xx]) by net.isp.com
(8.14.0/8.14.0) with ESMTP id lBBB37iO033395 (version=TLSv1/SSLv3
cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <me@xxxxxxx>;
RECEIVED: from host.domain.com (localhost.localdomain [127.0.0.1]) by
host.domain.com (8.13.8/8.13.8) with ESMTP id lBBB22o8012482 for
<root@xxxxxxxxxxxxxxx>
RECEIVED: (from root@localhost) by host.domain.com (8.13.8/8.13.8/
Submit) id lBBB22u2012249; Tue, 11 Dec 2007 04:02:02 -0700
=======================================
Why does sendmail submit twice??
1, First it gets root@localhost by the local FQDN.
2. Then it's as if it resubmits to ITSELF (FQDN) to send to root@FQDN.
3. Then it forwards to the external isp account.
Why does it do that step 2? can't it just send to the remote account
from step 1? or maybe a better way of asking the question is what is
the purpose of step 2? It looks a rewrite and a resubmit occurs there
- wondering why and what sendmail config parms are responsible for
that?
Historically sendmail had been installed as "set root id program".
Since sendmail-8.12 it is not to avoid to too likely security risks.
To preserve "traditional functionality" requiring root privileges
locally submitted messages are passed by "set *group* id" sendmail to
"main sendmail daemon" listening at 127.0.0.1:25 running with root
privileges. It explains the down most Received: header.
URL(s):
http://www.sendmail.org/security/secure-install.php
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@xxxxxxxxxxxx : anfi@xxxxxxxx
Open-Sendmail: http://open-sendmail.sourceforge.net/
.
- Follow-Ups:
- Re: local user FQDN or domain rewrite on outgoing mail
- From: googlee07
- Re: local user FQDN or domain rewrite on outgoing mail
- References:
- local user FQDN or domain rewrite on outgoing mail
- From: googlee07
- Re: local user FQDN or domain rewrite on outgoing mail
- From: Andrzej Adam Filip
- Re: local user FQDN or domain rewrite on outgoing mail
- From: googlee07
- local user FQDN or domain rewrite on outgoing mail
- Prev by Date: Re: Virtual domains - local-host-names versus virtusertable
- Next by Date: Re: Sendmail virtual domain users withOUT local accounts
- Previous by thread: Re: local user FQDN or domain rewrite on outgoing mail
- Next by thread: Re: local user FQDN or domain rewrite on outgoing mail
- Index(es):
Relevant Pages
|
Loading