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

Lukasz Szybalski szybalski at gmail.com
Tue Oct 24 16:38:50 CEST 2006


On 10/23/06, Mark Sapiro <msapiro at value.net> wrote:
> 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.


mailman has been restarted many times...and here are the outputs:
It seems as some messages go through after few hours. I created test
mailing list subscribed users, and 4 hours later subscription emal
went through...but here is the errior with the same time stamps.

smtp-failure:
Oct 24 08:15:37 2006 (18268) delivery to
mylist-owner at lists.example.com failed with code -1: [Errno 9] Bad file
descriptor
Oct 24 08:15:37 2006 (18268) Low level smtp error: [Errno 9] Bad file
descriptor, msgid:
<804e5c70610201400r16756b9bm3ec9275c73984168 at mail.gmail.com>

mail.log:
Oct 24 08:10:37 localhost postfix/smtpd[19990]: connect from
localhost[127.0.0.1]
Oct 24 08:10:37 localhost postfix/smtpd[19990]: 25AE325C0C3:
client=localhost[127.0.0.1]
Oct 24 08:15:37 localhost postfix/smtpd[19990]: timeout after DATA
from localhost[127.0.0.1]
Oct 24 08:15:37 localhost postfix/smtpd[19990]: disconnect from
localhost[127.0.0.1]
Oct 24 08:15:37 localhost postfix/cleanup[19993]: 25AE325C0C3:
message-id=<20061024131037.25AE325C0C3 at mycomp.example.com>
Oct 24 08:15:37 localhost postfix/smtpd[19990]: connect from
localhost[127.0.0.1]
Oct 24 08:15:37 localhost postfix/smtpd[19990]: 768C925C0C3:
client=localhost[127.0.0.1]

mail.info:
Oct 24 08:15:37 localhost postfix/smtpd[19990]: timeout after DATA
from localhost[127.0.0.1]
Oct 24 08:15:37 localhost postfix/smtpd[19990]: disconnect from
localhost[127.0.0.1]
Oct 24 08:15:37 localhost postfix/cleanup[19993]: 25AE325C0C3:
message-id=<20061024131037.25AE325C0C3 at mycomp.example.com>
Oct 24 08:15:37 localhost postfix/smtpd[19990]: connect from
localhost[127.0.0.1]
Oct 24 08:15:37 localhost postfix/smtpd[19990]: 768C925C0C3:
client=localhost[127.0.0.1]


Thanks,
Lucas



More information about the Mailman-Users mailing list