summaryrefslogtreecommitdiffstats
path: root/Lib/smtpd.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-05-14 02:13:30 (GMT)
committerBarry Warsaw <barry@python.org>2002-05-14 02:13:30 (GMT)
commitbdc8289e06fb95578187e203048d7ae445e5bb6d (patch)
tree4d1ae16be991889460b0ebec919b4a7cf3263806 /Lib/smtpd.py
parent576474c5ae0a42278262e7da96ebfa74754032b3 (diff)
downloadcpython-bdc8289e06fb95578187e203048d7ae445e5bb6d.zip
cpython-bdc8289e06fb95578187e203048d7ae445e5bb6d.tar.gz
cpython-bdc8289e06fb95578187e203048d7ae445e5bb6d.tar.bz2
smtp_RCPT(): Removed a somewhat embarrassing debugging line, found by
Scot Stevenson. Could be a bug fix candidate, but probably doesn't matter much unless a certain blue-nosed cat suddenly becomes corporeal and starts emailing some stmp.py (sic) fronted mailer.
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-xLib/smtpd.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py
index bd91637..2d52f0f 100755
--- a/Lib/smtpd.py
+++ b/Lib/smtpd.py
@@ -241,9 +241,6 @@ class SMTPChannel(asynchat.async_chat):
if not address:
self.push('501 Syntax: RCPT TO: <address>')
return
- if address.lower().startswith('stimpy'):
- self.push('503 You suck %s' % address)
- return
self.__rcpttos.append(address)
print >> DEBUGSTREAM, 'recips:', self.__rcpttos
self.push('250 Ok')