
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Simon Hedberg wrote:
I have been looking at ways to have postfix talking to my twisted app and today tried LMTP successfully for the first time. What I've done so far is just subclass the ESMTP protocol and add do_LHLO which seems to do the trick for some basic usage at least. Looking at http://www.ietf.org/rfc/rfc2033.txt it seems like it shouldn't be to hard to make a proper LMTP implementation. Perhaps someone more familiar with twisted.mail could have a look.
Your mini LMTP implementation fails if a message is sent to several recipients, since LMTP must answer with a status code per destination. That is the main difference with SMTP. But good starting point :) Hope "somebody" takes the token and complete a RFC compliant implementation... :-p - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBREUJTZlgi5GaxT1NAQKU1wP6A6YMIvbb9qzT1ujbGo58Phq1Zc5amOxG eV+2YaDxNcGO7AE6OvSPfx0FXyc8hPU+jyh2PvnJMuII2pTqDidaVlXGh6bdRB7b w+yGY632rldOyVWOM8Rizl4jZha4LwfVc1Om2oUGvUxXG7iT+z6AjEY3zor2TTqC ucFVkMD0dWE= =KmBp -----END PGP SIGNATURE-----