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 maker
Recipients Anthony.Kong, Juhana.Jauhiainen, alfmel, barry, catalin.iacob, geoffreyspear, giampaolo.rodola, hynek, josiah.carlson, maker, r.david.murray, richard, tshepang
Date 2012-03-12.11:19:44
SpamBayes Score 0.0017694421
Marked as misclassified No
Message-id <1331551188.74.0.358491293111.issue8739@psf.upfronthosting.co.za>
In-reply-to
Content
Patch attached.
A few considerations: in case of syntax error, the server responds with " MAIL FROM:<address> [SP <mail-parameters> ] <CRLF>" according to http://tools.ietf.org/html/rfc5321#section-3.3 (instead of "MAIL FROM:<address>"). Note that this could break something, as far as backwards compatibility is concerned. 
Looking at http://tools.ietf.org/html/rfc3030#section-4.2 , I was wondering whether the size parameter on MAIL FROM should have implications on the RCPT TO command (i.e., we should check that the foreign email accepts that size).
Finally, right now the size parameter is not considered until greater than max_message_size. This could let the user push an email with a size greater than the on declared (but smaller than max_message_size).

Tests for command line and cleanup will be on another issue.

Waiting for directives :) ,
-- 
ù
History
Date User Action Args
2012-03-12 11:19:49makersetrecipients: + maker, barry, richard, giampaolo.rodola, josiah.carlson, r.david.murray, alfmel, catalin.iacob, tshepang, geoffreyspear, Anthony.Kong, hynek, Juhana.Jauhiainen
2012-03-12 11:19:48makersetmessageid: <1331551188.74.0.358491293111.issue8739@psf.upfronthosting.co.za>
2012-03-12 11:19:48makerlinkissue8739 messages
2012-03-12 11:19:47makercreate