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
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.cvsignore -rw-r--r-- 79 bytes
.hgtags -rw-r--r-- 1.8 KB
LICENSE -rw-r--r-- 8.6 KB
Makefile.in -rw-r--r-- 18.0 KB
Makefile.pre.in -rw-r--r-- 22.3 KB
README -rw-r--r-- 35.6 KB
acconfig.h -rw-r--r-- 6.0 KB
config.h.in -rw-r--r-- 16.6 KB
configure -rwxr-xr-x 187.6 KB
configure.in -rw-r--r-- 38.0 KB
install-sh -rwxr-xr-x 2.2 KB
setup.py -rw-r--r-- 23.8 KB

README

back to top