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

Mark Sapiro msapiro at value.net
Tue Oct 24 17:52:19 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>


I looked at this a bit deeper, and I see the '[Errno 9] Bad file
descriptor' originates in the Python socket library when smtplib
attempts to send or receive on a closed connection.

Therefore, it appears the scenario is something like the following:

- Mailman attempts to send
- The SMTP transaction proceeds to the point where smtplib sends DATA
- Something happens (or doesn't happen) here and the MTA times out
(after waiting 5 minutes) and disconnects (closes the socket).
- smtplib sends or receives on the closed socket and gets the error 9.

We still don't know what causes the timeout. The smtplib debugging info
would help.

-- 
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