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

Re: [OT] Sourceforge lists and Return-Path header



On Mon, Aug 07, 2006 at 09:08:57PM -0400, Roberto C. Sanchez wrote:
> It appears that the Sourceforge mailing list server apparently tries to
> connect back to the host or MX for the host listed in the Return-Path
> header.  My network is setup like this:
> 
> miami -----> santiago (smarthost) -----> Internet
> 
> Now, miami runs postfix, but it is not accessible from the outside.
> Now, when I am using mutt on miami, sending a message to the Sourceforge
> mailing lists generates a reply like this to santiago (which acts as the
> smarthost) since the Return-Path is set to roberto@miami.connexer.com:
> 
> Aug  7 20:28:50 santiago postfix/smtp[11711]: 778272403E:
> to=<courier-imap@lists.sourceforge.net>,
> relay=externalmx-1.sourceforge.net[12.152.184.25], delay=92,
> status=deferred (host externalmx-1.sourceforge.net[12.152.184.25] said:
> 451-could not connect to miami.connexer.com [66.93.22.253]: Connection
> timed out 451-Could not complete sender verify callout for
> <roberto@miami.connexer.com>. 451-The
> mail server(s) for the domain may be temporarily unreachable, or
> 451-they may be permanently unreachable from this server. In the latter
> case, 451-you need to change the address or create an MX record for its
> domain 451-if it is supposed to be generally accessible from the
> Internet. 451 Talk to your mail administrator
> for details. (in reply to RCPT TO command))
> 
> When I send from thunderbird from any machine, it works as it is
> connecting directly to santiago.  If I use mutt on santiago, it works
> fine there as well since it is running an instance of Postfix which can
> be reached from the public internet.  My question is this, is my setup
> broken (mutt/postfix/smarthost) or is sourceforge's setup broken?
> 

what does your "From" header look like? Is it supposed to show a
return address of x@miami.connexer.com? I would assume not, that it
should show a return address of x@santiago.com... The point is, are
you setting your From header's properly in .muttrc AND if you are
setting them to something other than miami is postfix accepting that
or rewriting the from address? i had this same problem with exim4 the
other day after a reinstall, exim4 wasn't accepting my from addresses
and was rewriting them to @basement (the name of my work machine)
which caused them to be bounced all over the place. for reference,
here are the pertinent lines of my .muttrc:


set from=andrew@farwestbilliards.com [1]
set realname="Andrew Sackville-West" [2]
set use_from [3]
set envelope_from [4]

[1] sets the from header line as shown
[2] sets the real name to include in the headers
[3] tells mutt to use the from header as the envelope_from header as
well
[4] turns on the envelope_from header

I hope I'm not hitting you with really basic crap here...

So this sets up the headers so they look right leaving my mutt, but
then my local exim4 would see that header and say "hey this isn't from
this machine" and rewrite it all to andrew@basement. i had to
configure exim4 to allow the headers to come through unchanged. I
would assume that postfix has some similar issues as well. 

hth.

A


Attachment: signature.asc
Description: Digital signature


Reply to: