[Mailman-Users] Can't send messages to list

Mark Sapiro msapiro at value.net
Tue Oct 24 06:18:48 CEST 2006


Lukasz Szybalski wrote:
>
>Why do i get this error in smtp-failure?
>Any ideas?
>
>Oct 23 20:30:31 2006 (13510) delivery to email at email.com failed with
>code -1: [Errno 9] Bad file descriptor
>Oct 23 20:30:31 2006 (13510) delivery to email at email.com failed with
>code -1: [Errno 9] Bad file descriptor
>Oct 23 20:30:31 2006 (13510) Low level smtp error: [Errno 9] Bad file
>descriptor, msgid:
><mailman.1.1161642951.1495.listname at lists.example.com>
>Oct 23 20:33:30 2006 (13510) Low level smtp error: [Errno 9] Bad file
>descriptor, msgid:
><mailman.1.1161643730.13036.lists at lists.example.com>
>
>mail.info says:
>Oct 23 20:25:31 localhost postfix/smtpd[13513]: connect from
>localhost[127.0.0.1]
>Oct 23 20:25:31 localhost postfix/smtpd[13513]: 0CA9A25C0C3:
>client=localhost[127.0.0.1]
>Oct 23 20:30:31 localhost postfix/smtpd[13513]: timeout after DATA
>from localhost[127.0.0.1]
>Oct 23 20:30:31 localhost postfix/smtpd[13513]: disconnect from
>localhost[127.0.0.1]
>Oct 23 20:30:31 localhost postfix/cleanup[13514]: 0CA9A25C0C3:
>message-id=<20061024012531.0CA9A25C0C3 at mycomp.example.com>



You say you changed SMTPDirect.py.

> >I changed the Mailman/Handlers/SMTPDirect.py as follows.
> >    def __connect(self):
> >        self.__conn = smtplib.SMTP()
> >        self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
> >        self.__numsessions = mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION
> >and add a line so it becomes
> >    def __connect(self):
> >        self.__conn = smtplib.SMTP()
> >        self.__conn.set_debuglevel(1)
> >        self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
> >        self.__numsessions = mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION

Then be sure you have done

bin/mailmanctl restart

and report what is in Mailman's 'error' log with the same timestamps as
the 'smtp-failure' log entries.


-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list