This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alfmel
Recipients alfmel, barry, giampaolo.rodola, josiah.carlson, r.david.murray
Date 2010-05-20.13:46:32
SpamBayes Score 0.0001809114
Marked as misclassified No
Message-id <1274363203.34.0.29483337537.issue8739@psf.upfronthosting.co.za>
In-reply-to
Content
I have attached a version 2 of the patch.  This patch includes everything in the first version, and adds the following:

 - Support for help arguments (HELP MAIL, for example)
 - Support for setting the maximum message size from the command line

This last feature adds the -s or --size option to the command line.  It allows the user to specify the maximum size for the message.  It is set to 0 for the default, meaning no limit.  This mimics the original behavior of module.  If you specify a size (like --size 32768), it will reject messages larger than the specified number of bytes (32KiB in this case).  If you don't specify the size, the response of EHLP won't list SIZE as one of the extensions.  But, if a size is specified, then it will show it on EHLP.

Hopefully these two changes will address some of the concerns that have been brought up.
History
Date User Action Args
2010-05-20 13:46:43alfmelsetrecipients: + alfmel, barry, giampaolo.rodola, josiah.carlson, r.david.murray
2010-05-20 13:46:43alfmelsetmessageid: <1274363203.34.0.29483337537.issue8739@psf.upfronthosting.co.za>
2010-05-20 13:46:40alfmellinkissue8739 messages
2010-05-20 13:46:40alfmelcreate