I don't usually use cvs but I assume that : refused = e.recipients # MTA not responding, or other socket problems, or any other kind of # SMTPException. In that case, nothing got delivered - except (socket.error, smtplib.SMTPException), e: + except (socket.error, smtplib.SMTPException, IOError), e: # BAW: should this be configurable? syslog('smtp', 'All recipients refused: %s', e) # If the exception had an associated error code, use it, otherwise,
means that I must write this piece of code: refused = e.recipients # MTA not responding, or other socket problems, or any other kind of # SMTPException. In that case, nothing got delivered except (socket.error, smtplib.SMTPException, IOError), e: # BAW: should this be configurable? syslog('smtp', 'All recipients refused: %s', e) # If the exception had an associated error code, use it, otherwise, If so, I already have this code written in mailman/Mailman/Handlers/SMTPDirect.py Any other idea? Patrick Atlas ----- Original Message ----- From: "Richard Barrett" <[EMAIL PROTECTED]> To: "Patrick Atlas" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, September 09, 2003 3:04 PM Subject: Re: [Mailman-Users] Error with qrunner > A search for "Interrupted system call" on > http://www.mail-archive.com/mailman-users%40python.org/ brought up a > number of hits, which may be relevant. For instance: > > http://www.mail-archive.com/[EMAIL PROTECTED]/msg14350.html > ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] 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/ This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org