From 5c4b61d58474c23a04236b1592c2eebd01c74442 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 9 Oct 2004 21:43:47 +0000 Subject: [PATCH] Fix for SF bug # 1010102. The default is PureProxy not SMTPProxy. --- Lib/smtpd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3