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. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ 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&file=faq01.027.htp