python SMTP server

Cliff Wells cliff at develix.com
Mon Aug 1 06:44:07 EDT 2005


On Mon, 2005-08-01 at 12:28 +0200, Benjamin Niemann wrote:
> Cliff Wells wrote:

> > As an aside, I will say that many SMTP servers that service home users
> > (i.e. Comcast, et al) limit the amount of mail that you can send within
> > a defined period.
> 
> Or completely block outgoing traffic on port 25 except to their own relay...

Luckily I haven't encountered this with Comcast Cable (I use my own
mailserver [requires smtpauth] directly from home as Comcast seems to
have issues with mail and DNS on occasion).  If I ever do, I'll
immediately switch to one of the local DSL providers who support Linux.
Better for MTA's to block dynamic/home IP's using dnsbls than have the
ISP limit what you can do with your home computer.

> > By using a local SMTP server to proxy, your app can 
> > queue up a large amount of mail in a much shorter period.  It won't
> > necessarily go out any faster, but at least your app won't be tied up
> > waiting for the mail to be accepted.  So there is perhaps one useful
> > (beyond learning and fun) application for using a local SMTP server.
> 
> It would be interesting what the intention of the OP is. I just stumpled
> upon a similar problem. The prog I'm currently working on has a function to
> report crashes back to me. Originally these reports where sent by mail - no
> problem on UNIX/Linux hosts where you can assume to have a working MDA on
> localhost. But what to do on Windows systems?!? Ask for a SMTP server
> during installation? Confusing as the program itself is totally unrelated
> to email. In this case you _could_ deliver the mail directly to my MX
> host... But instead of this I installed a small CGI on my website that
> sends the mails to me and gets the data via HTTP POST from my app.

You can also use port redirection to bypass this sort of thing.  Send on
port 10025 instead and direct your MTA to listen on both ports.

Regards,
Cliff

-- 
cliff at develix.com
http://www.develix.com :: Web applications and hosting :: Linux, PostgreSQL and Python specialists ::





More information about the Python-list mailing list