Outbound messages have domain fubar'd
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://
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()