Outbound messages have domain fubar'd

Bug #266378 reported by Wshs
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Medium
Unassigned

Bug Description

This is using a port install of mailman in FreeBSD, with version 2.1.9_1.
When sending messages to users, either triggered by the web interface, or a
message from a user to a mailman controlled email address, while using
qmail with the included qmail-to-mailman script, the following errors
litter my logs:

2007-01-05 07:53:25.924843500 info msg 5348160: bytes 1233 from
<email address hidden> qp 98922 uid 89
2007-01-05 07:53:25.961231500 starting delivery 17: msg 5348160 to remote
<email address hidden>

Note the 'gmail.comyes'.
A 'yes' is appended to every outbound message's target domain, thus making
delivery impossible.

I spent a few days thinking it was something I messed up, so I went through
my entire system setup checking everything that could influence mail. I
then discovered the problem is specific to mailman. Not sure what info I
can provide to help, but I'd be willing to supply upon request. I am using
FreeBSD 5.5, Python 2.5.

[http://sourceforge.net/tracker/index.php?func=detail&aid=1628753&group_id=103&atid=100103]

Revision history for this message
Mark Sapiro (msapiro) wrote :

Originator: NO

There are many people using Mailman 2.1.9 and probably several using the
FreeBSD port. This is the first report of this issue. It may have something
to do with Python 2.5 or perhaps the combination of the FreeBSD port and
Python 2.5.

The following is an interactive Python snippet (Python responses other
than prompts omitted) that sends mail in exactly the same way as Mailman
does. If you have changed the assignments of SMTPHOST and/or SMTPPORT in
mm_cfg.py, change them here too. Try this and see if the problem exists
with it. If so, the problem is with Python, not Mailman.

>>> import smtplib
>>> msg = """Subject: Test Message
... Message-Id: <email address hidden>
... From: <email address hidden>
... To: you
...
... The body
... """
>>> rcpts = ['<email address hidden>', '<email address hidden>']
>>> env = '<email address hidden>'
>>> SMTPHOST = 'localhost'
>>> SMTPPORT = 0
>>> x = smtplib.SMTP()
>>> x.set_debuglevel(1)
>>> x.connect(SMTPHOST, SMTPPORT)
>>> x.sendmail(env, rcpts, msg)
>>> x.quit()

Revision history for this message
Wshs (wshs) wrote :

Originator: YES

I've tracked the problem down to internal stupidity, and it is not related
at all to Mailman. However, it wasn't noticed until Mailman made me aware
of it (patch that adversely affected smtp relaying). I do apologize for
blaming mailman.

Revision history for this message
Mark Sapiro (msapiro) wrote :

Originator: NO

Deleted per submitter's comment.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.