Thursday, October 20, 2005

New Twisted Mail Release: 0.2.0

Twisted Mail provides client and server implementations of three protocols: SMTP, POP3, and IMAP4. These differentiate themselves from the Python standard library implementations both by presenting a much higher-level, easy-to-use interface and in their server components which allow the implementation of custom servers for each protocol without dealing with protocol-level issues.



Twisted Mail includes a simple, out-of-the-box email server which accepts messages over SMTP, stores them in a Maildir arrangement, and can serve them to clients over POP3. This is intended primarily as a demonstration of the use of the protocol implementations in Twisted Mail, not as a production-quality mail server. While it performs fairly reliably under normal operation, almost no effort has been expended towards making it robust against failures in general.



Twisted Mail also comes with a simple /usr/sbin/sendmail replacement, mailmail. Rather than using a custom schema to communicate messages to an MTA, mailmail connects to localhost on port 25 and gives the message to whatever server happens to be listening there.



This is a minor feature enhancement release. The IMAP4 and POP3 client implementations have both gained methods for explicitly negotiating TLS options. The POP3 client now facilitates command timeouts and has gained support for the POP3 commands NOOP, RSET, and STAT.



Check out the Twisted Mail project page or download the release.

No comments:

Post a Comment