From: Barry Warsaw Date: Sat, 9 Oct 2004 21:43:47 +0000 (+0000) Subject: Fix for SF bug # 1010102. The default is PureProxy not SMTPProxy. X-Git-Tag: v2.3.5c1~99 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5c4b61d58474c23a04236b1592c2eebd01c74442;p=thirdparty%2FPython%2Fcpython.git Fix for SF bug # 1010102. The default is PureProxy not SMTPProxy. --- diff --git a/Lib/smtpd.py b/Lib/smtpd.py index ec1f7e76efb2..742a2d2264ea 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py @@ -17,7 +17,7 @@ Options: --class classname -c classname - Use `classname' as the concrete SMTP proxy class. Uses `SMTPProxy' by + Use `classname' as the concrete SMTP proxy class. Uses `PureProxy' by default. --debug @@ -346,6 +346,7 @@ class PureProxy(SMTPServer): refused = self._deliver(mailfrom, rcpttos, data) # TBD: what to do with refused addresses? print >> DEBUGSTREAM, 'we got some refusals:', refused + return refused def _deliver(self, mailfrom, rcpttos, data): import smtplib