Putmail project is a very lightweight MTA or SMTP client, distributed under the terms of the X Consortium License.
Here are some key features of "Putmail":
· Command-line compatibility with sendmail.
· TLS support. SSL can also be used with an external tool like stunnel.
· Optional per-address configuration. You can use different settings depending on the From: header.
· Multiplatform. It works on any platform Python works.
· Simple to configure.
· Short and sweet. Only 350 lines of code.
What's New in This Release:
· This release fixes what could be considered a security problem. If you tried to use TLS with a server that didn't support TLS, the request to start TLS would silently fail and would not be detected by putmail.py. This means that the user may think putmail.py was sending the username and password in encrypted form when, in fact, it was being sent in the classic cleartext form. This is not a problem if you are sure about the capabilities of the SMTP server and putmail.py is configured correctly, but it's plain wrong not to detect the STARTTLS failure. I have implemented checks in the commands sent to the server. Should it return a 4xx or 5xx code as a reply, putmail.py will consider it an error. I've been using this version for a few days and it works without any problems. If you detect considering 4xx errors is too restrictive and you have problems, don't hesitate to contact me. Also, due to a lack of demand, the internationalization code has been removed. Nobody ever asked for translations and the only one present was for Spanish, which I didn't even use.