homepage

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 giampaolo.rodola
Recipients barry, giampaolo.rodola, jafo
Date 2007年10月21日.19:17:47
SpamBayes Score 0.002308835
Marked as misclassified No
Message-id <1192994268.09.0.346678877498.issue1745035@psf.upfronthosting.co.za>
In-reply-to
Content
> What does this do when a line longer than 4096 bytes 
> is found? Does it report an error to the SMTP client? 
> That's my only concern.
Sorry for replying so late. 
No, it does not report the error and this is bad.
I've searched through RFCs and I found that RFC 821 and RFC 2821 at
chapter 4.2.2 say that a 500 "Syntax error, command unrecognized"
response could be used to report errors such as command lines too long.
Modified smtpd.py in attachment. It should be definitively fine for
inclusion now.
Files
File name Uploaded
smtpd.py giampaolo.rodola, 2007年10月21日.19:17:47
History
Date User Action Args
2007年10月21日 19:17:48giampaolo.rodolasetspambayes_score: 0.00230884 -> 0.002308835
recipients: + giampaolo.rodola, barry, jafo
2007年10月21日 19:17:48giampaolo.rodolasetspambayes_score: 0.00230884 -> 0.00230884
messageid: <1192994268.09.0.346678877498.issue1745035@psf.upfronthosting.co.za>
2007年10月21日 19:17:47giampaolo.rodolalinkissue1745035 messages
2007年10月21日 19:17:47giampaolo.rodolacreate

AltStyle によって変換されたページ (->オリジナル) /