On 10/23/06, Mark Sapiro <[EMAIL PROTECTED]> 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 PROTECTED] failed with
> >code -1: [Errno 9] Bad file descriptor
> >Oct 23 20:30:31 2006 (13510) delivery to [EMAIL PROTECTED] 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:
> ><[EMAIL PROTECTED]>
> >Oct 23 20:33:30 2006 (13510) Low level smtp error: [Errno 9] Bad file
> >descriptor, msgid:
> ><[EMAIL PROTECTED]>
> >
> >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=<[EMAIL PROTECTED]>
>
>
>
> 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
[EMAIL PROTECTED] 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:
<[EMAIL PROTECTED]>

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=<[EMAIL PROTECTED]>
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=<[EMAIL PROTECTED]>
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
------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to