SMTP problem

Bug #266279 reported by Dhubleizh-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Medium
Unassigned

Bug Description

Whenever I send an eamail to any list, the system tells
me, the mail has been sent, the mailman archive of the
list shows me the sent mail, but mailman doesn't send
it out to the users. It keeps it in shunt dirrectory
and whenever it tries to send it (like when unshunt
invoked), I get something like this in error:

Oct 07 00:53:34 2005 (20276) SHUNTING:
1128638415.450326+e1e70fc6df2adac2d6b625e2519b601c8879bacb
Oct 07 01:06:13 2005 (31706) Uncaught runner exception:
SMTP instance has no attribute 'sock'
Oct 07 01:06:13 2005 (31706) Traceback (most recent
call last):
  File
"/tmp/B.30a581/mailman-2.1.5-root-builder/var/lib/mailman/Mailman/Queue/Run
ner.py",
line 111, in _oneloop
  File
"/tmp/B.30a581/mailman-2.1.5-root-builder/var/lib/mailman/Mailman/Queue/Run
ner.py",
line 167, in _onefile
  File
"/tmp/B.30a581/mailman-2.1.5-root-builder/var/lib/mailman/Mailman/Queue/Out
goingRunner.py",
line 73, in _dispose
  File
"/tmp/B.30a581/mailman-2.1.5-root-builder/var/lib/mailman/Mailman/Handlers/
SMTPDirect.py",
line 152, in process
  File
"/tmp/B.30a581/mailman-2.1.5-root-builder/var/lib/mailman/Mailman/Handlers/
SMTPDirect.py",
line 362, in bulkdeliver
  File
"/tmp/B.30a581/mailman-2.1.5-root-builder/var/lib/mailman/Mailman/Handlers/
SMTPDirect.py",
line 68, in sendmail
  File
"/tmp/B.30a581/mailman-2.1.5-root-builder/var/lib/mailman/Mailman/Handlers/
SMTPDirect.py",
line 62, in __connect
  File "/usr/share/python2.4/smtplib.py", line 255, in
__init__
AttributeError: SMTP instance has no attribute 'sock'

Oct 07 01:06:13 2005 (31706) SHUNTING:
1128638415.450326+ff5f438f835639afd9d59480cebaf2e1b400eff1

python 2.4.2 installed

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

Revision history for this message
Tokio Kikuchi (tkikuchi) wrote :

This is a known symptom for invalid setings for the SMTP
host/port. (Not a bug)
Check your SMTP settings in Defaults.py especially for
SMTPHOST. See the FAQ No 3.14 article in Mailman FAQ Wizard
for more.
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.014.htp

Revision history for this message
Dhubleizh-users (dhubleizh-users) wrote :

hm - I've sent it here as a bug, cause it worked for a year
now and I've recently updated mailman and python. I've added
the name of lists server to /etc/hosts as 127.0.0.1.

It's strange thou - cause SMTPHOST is by default set to
127.0.0.1 which already was in /etc/hosts and I have
MTA='Postfix' from ages in my mm_cfg.py :/ Nevertheless -
sorry bout the unecessery fuss...

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.