[Python] SMTP server based on Python?

Tim Roberts timr at probo.com
Thu Dec 7 07:20:04 CET 2006


"Peter Smith [gjfc]" <goodjobfastcar at gmail.com> wrote:
>
>I have sendmail working on my linux box.
>
>Since I can use sendmail to send e-mails, would it be easy to write a
>simple Python class which listens for data on port 25?
>
>Then, if it gets some data, it just passes it to sendmail.

Ummm, I'm rather confused as to why you don't just have sendmail do this.
After all, that is its primary function: to run as a daemon, listening on
port 25, and delivering incoming messages to local mailboxes.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.


More information about the Python-list mailing list