Staging
v0.5.1
https://github.com/python/cpython
Revision 7e0d9563caf0eda8b5d76a3bdf24a318f6d592ec authored by Barry Warsaw on 31 January 2001, 22:51:35 UTC, committed by Barry Warsaw on 31 January 2001, 22:51:35 UTC
I'm now checking it in.  I need to write some documentation for it,
but I don't have time right now.  Still, I wanted to get this into
2.1a2.

# Overview:
#
# This file implements the minimal SMTP protocol as defined in RFC 821.  It
# has a hierarchy of classes which implement the backend functionality for the
# smtpd.  A number of classes are provided:
#
#   SMTPServer - the base class for the backend.  Raises an UnimplementedError
#   if you try to use it.
#
#   DebuggingServer - simply prints each message it receives on stdout.
#
#   PureProxy - Proxies all messages to a real smtpd which does final
#   delivery.  One known problem with this class is that it doesn't handle
#   SMTP errors from the backend server at all.  This should be fixed
#   (contributions are welcome!).
#
#   MailmanProxy - An experimental hack to work with GNU Mailman
#   <www.list.org>.  Using this server as your real incoming smtpd, your
#   mailhost will automatically recognize and accept mail destined to Mailman
#   lists when those lists are created.  Every message not destined for a list
#   gets forwarded to a real backend smtpd, as with PureProxy.  Again, errors
#   are not handled correctly yet.
1 parent f9abaf4
History
Tip revision: 7e0d9563caf0eda8b5d76a3bdf24a318f6d592ec authored by Barry Warsaw on 31 January 2001, 22:51:35 UTC
Long ago, Guido suggested that I add this to the standard library.
Tip revision: 7e0d956
File Mode Size
Makefile -rw-r--r-- 286 bytes
Python.h -rw-r--r-- 2.7 KB
abstract.h -rw-r--r-- 31.1 KB
bitset.h -rw-r--r-- 792 bytes
bufferobject.h -rw-r--r-- 929 bytes
cStringIO.h -rw-r--r-- 3.9 KB
cellobject.h -rw-r--r-- 636 bytes
ceval.h -rw-r--r-- 3.3 KB
classobject.h -rw-r--r-- 2.1 KB
cobject.h -rw-r--r-- 1.7 KB
codecs.h -rw-r--r-- 3.3 KB
compile.h -rw-r--r-- 2.0 KB
complexobject.h -rw-r--r-- 1.4 KB
config.h -rwxr-xr-x 3.2 KB
dictobject.h -rw-r--r-- 1.2 KB
errcode.h -rw-r--r-- 1.1 KB
eval.h -rw-r--r-- 251 bytes
fileobject.h -rw-r--r-- 954 bytes
floatobject.h -rw-r--r-- 720 bytes
frameobject.h -rw-r--r-- 2.8 KB
funcobject.h -rw-r--r-- 1.4 KB
graminit.h -rw-r--r-- 1.4 KB
grammar.h -rw-r--r-- 2.0 KB
import.h -rw-r--r-- 1.5 KB
intobject.h -rw-r--r-- 2.2 KB
intrcheck.h -rw-r--r-- 285 bytes
listobject.h -rw-r--r-- 1.8 KB
longintrepr.h -rw-r--r-- 1.7 KB
longobject.h -rw-r--r-- 1.5 KB
marshal.h -rw-r--r-- 710 bytes
metagrammar.h -rw-r--r-- 253 bytes
methodobject.h -rw-r--r-- 1.8 KB
modsupport.h -rw-r--r-- 3.2 KB
moduleobject.h -rw-r--r-- 570 bytes
node.h -rw-r--r-- 1006 bytes
object.h -rw-r--r-- 19.9 KB
objimpl.h -rw-r--r-- 10.1 KB
opcode.h -rw-r--r-- 4.0 KB
osdefs.h -rw-r--r-- 823 bytes
parsetok.h -rw-r--r-- 613 bytes
patchlevel.h -rw-r--r-- 1.2 KB
pgenheaders.h -rw-r--r-- 1.3 KB
py_curses.h -rw-r--r-- 3.5 KB
pydebug.h -rw-r--r-- 541 bytes
pyerrors.h -rw-r--r-- 3.9 KB
pyfpe.h -rw-r--r-- 8.3 KB
pygetopt.h -rw-r--r-- 323 bytes
pymem.h -rw-r--r-- 5.1 KB
pyport.h -rw-r--r-- 11.8 KB
pystate.h -rw-r--r-- 1.9 KB
pythonrun.h -rw-r--r-- 3.4 KB
pythread.h -rw-r--r-- 1.4 KB
rangeobject.h -rw-r--r-- 463 bytes
rename1.h -rwxr-xr-x 12.7 KB
sliceobject.h -rw-r--r-- 971 bytes
stringobject.h -rw-r--r-- 4.3 KB
structmember.h -rw-r--r-- 1.8 KB
sysmodule.h -rw-r--r-- 734 bytes
token.h -rw-r--r-- 1.6 KB
traceback.h -rw-r--r-- 571 bytes
tupleobject.h -rw-r--r-- 1.5 KB
ucnhash.h -rw-r--r-- 682 bytes
unicodeobject.h -rw-r--r-- 29.0 KB

back to top