Re: local user FQDN or domain rewrite on outgoing mail



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?

thanks
.



Relevant Pages

  • Re: cyrus & sendmail
    ... rewritten as: root ... rewritten as: daemon @ edu. ... rewrite: ruleset Local_localaddr input: daemon ... mailbox is overqouta." ...
    (comp.mail.sendmail)
  • Re: BUG? With A HTTPModule
    ... concate the whole new url which is used to rewrite the Requested path. ... put a test page named test.aspx in the application's root folder and change ... our Product Support Service. ...
    (microsoft.public.dotnet.framework.aspnet)
  • LOCAL_RULE_0 and prog mailer problem
    ... rewrite: ruleset ParseLocal returns: root ... Contrast that with a successful prog-mailer selection. ... Tietotekniikkaosasto / Helsingin yliopisto ...
    (comp.mail.sendmail)
  • Re: local user FQDN or domain rewrite on outgoing mail
    ... to root on the local box, ... Why does sendmail submit twice?? ... It looks a rewrite and a resubmit occurs there ... To preserve "traditional functionality" requiring root privileges ...
    (comp.mail.sendmail)
  • Re: ldap_routing and local aliases
    ... The intent with ldap_routing would be merely for validity checking of addresses, ... rewrite: ruleset ParseLocal returns: root ... gtest0@xxxxxxxxxxxx deliverable: mailer cyrusv2, user gtest0@xxxxxxxxx ...
    (comp.mail.sendmail)

Loading