Hi, attached is a proposal to extend the existing smtplib.py module with support for LMTP (RFC2033). I find it very useful together with IMAP servers like Cyrus. Thanks, -- leif
Logged In: YES user_id=593130 If you were mere requesting a feature enhancement, this would belong in the RFE list and not the bug list. Since you submitted a patch, and not just a proposal, this belongs in the patch list. However, as a patch submission, it also needs 1) a patch to the documentation for smtplib (at least the suggested new text if you can't do Latex) and 2) a patch to the test suite for smtplib (assuming there is one already). Suggestion: close this bug report as invalid and open a patch item with the additional material.
Logged In: YES user_id=480913 Is the documentation provided in the patch for the LMTP class not sufficient? I can extend on that if necessary, although bear in mind that LMTP is very, very similar to SMTP. The main difference is the support for Unix sockets. As for adding test code, I could do that, although I'm guessing most people will not have an LMTP capable server running. If you feel strongly on this, I'll add something that will check for port 2003, and submit the same test message through an LMTP instance.