[issue8739] Update to smtpd.py to RFC 5321

Alberto Trevino report at bugs.python.org
Thu Aug 5 08:28:12 CEST 2010


Alberto Trevino <alberto at byu.edu> added the comment:

Sorry.  This is my first submission to Python, so I'm learning the process as I go.

This latest patch is done against today's SVN snapshot.  Just to summarize, it does the following:

  * Updates the main smtpd.py module to make it RFC 5321 compliant:
    - Adds EHLO support
    - Provides basic VRFY support
    - Updated messages (more in line with RFC 5321 examples)

  * Adds additional functionality to smtpd.py:
    - Adds HELP support
    - Implements DATA size limits (optional feature -- backward compatible)
    - 8BITMIME extension plubming

  * Fixes setuid bug in smtpd.py as explained in issue 9168

  * Updates test-smtpd.py to test new functionality

  * Updates test-smtpdlib.py to work with updates to smtpd.py

Again, please review and comment as necessary.

----------
Added file: http://bugs.python.org/file18397/smtpd.py-0.2-rfc5321-enhancements-5.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8739>
_______________________________________


More information about the Python-bugs-list mailing list