Re: masquerading envelope not working in mutt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 23, 2004 at 10:14:03AM +0100, Alexander Dalloz wrote:
> Am Fr, den 23.01.2004 schrieb Jack Bowling um 09:19:
> > Emails to this list have been bouncing back from the redhat mail server since
> > yesterday using mutt. I believe it is because RH has started doing a DNS lookup
> > on the hostnames and my envelope sender is set for my local hostname.
> > 
> > I first tried to use the "set envelope_from" option in mutt to no avail. I then
> > went through the whole complicated rigamarole of setting up envelope
> > masquerading in sendmail using genericstable. Again to no avail.
> > 
> > So I am stuck here wondering what I could possibly be doing wrong. Apparently I
> > am unable to modify the envelope sender on my FC1 box. Perhaps somebody has run
> > into this before?
> > 
> > --
> > Jack Bowling
> 
> If you look at those mail header lines, showing the starting points of
> your mail:
> 
> Received:  from pd5mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net
> [24.71.223.10]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id
> i0N8Sel19075   for <fedora-list@xxxxxxxxxx>; Fri, 23 Jan 2004 03:28:41
> -0500
> Received:  from pd2mr2so.prod.shaw.ca (pd2mr2so-ser.prod.shaw.ca
> [10.0.141.109]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18
> (built Jul 28 2003)) with ESMTP id <0HRX00LI2OHAKR@l-daemon> for
> fedora-list@xxxxxxxxxx; Fri, 23 Jan 2004 01:19:58 -0700 (MST)
> Received:  from pn2ml10so.prod.shaw.ca (pn2ml10so-qfe0.prod.shaw.ca
> [10.0.121.80]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18
> (built Jul 28 2003)) with ESMTP id <0HRX0042GOHAZ1@l-daemon> for
> fedora-list@xxxxxxxxxx; Fri, 23 Jan 2004 01:19:58 -0700 (MST)
> Received:  from 192.168.0.2 ([24.70.73.190]) by l-daemon (iPlanet
> Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with SMTP id
> <0HRX0074ZOHACX@l-daemon> for fedora-list@xxxxxxxxxx; Fri, 23 Jan 2004
> 01:19:58 -0700 (MST)
> 
> You easily see that (pn2ml10so-qfe0.prod.shaw.ca [10.0.121.80]) looks
> strange, as 10.0.0.0/16 is no routeable net. Same with
> pd2mr2so.prod.shaw.ca (pd2mr2so-ser.prod.shaw.ca [10.0.141.109]).
> Additional I do not see any Sendmail host involved at your side but just
> a Sun iPlanet server.

Actually, in the above, the first server it hits is the external mailserver
at 24.71.223.10. I would assume anything in the 10.0.x.x block is an internal
box handling the mail load. And yes, you won't see any local host involved
from my side since I have sendmail set for SMART RELAY through my ISP.

However, the reason that you got that mail in the first place is that I used 
another mailer instead of mutt. Note the line: 

> Received:  from 192.168.0.2 ([24.70.73.190]) by l-daemon (iPlanet...

which is the envelope sender. It is still being tagged with the IP of my
FC1 box but this one does not get bounced.

Now here are the same 3 Received lines from the bounced mail when using mutt:

Received: from pd2mr4so.prod.shaw.ca
 (pd2mr4so-qfe2.prod.shaw.ca [10.0.162.107]) by l-daemon

Received: from pn2ml9so.prod.shaw.ca (pn2ml9so-qfe0.prod.shaw.ca
[10.0.121.7])

Received: from nonesuch.localdomain ([24.70.73.190])
by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003))
with ESMTP id <0HRX00B4TKAQLP@l-daemon> for jbinpg@xxxxxxx; Thu,
22 Jan 2004 23:49:38 -0700 (MST)
 
...and here is the reason given for the bounce:
 
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
User-Agent: Mutt/1.4.1i
X-Authentication-warning: nonesuch.localdomain: jb set sender to
jbinpg@xxxxxxx using -f
Original-recipient: rfc822;jbinpg@xxxxxxx

Somehow the local hostname of nonesuch.localdomain = 192.168.0.2 is being
tagged onto the envelope sender. Here are my relevant config lines in my
.muttrc:

set realname="Jack Bowling"
set from="jbinpg@xxxxxxx"
set use_from     # create From: Header
set envelope_from       # set envelope header as well as reply-to

Yet, mails get bounced using mutt but not using another mailer. I'm at a
loss.

-- 
Jack Bowling
mailto: jbinpg@xxxxxxx




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux