python SMTP server

Benjamin Niemann pink at odahoda.de
Mon Aug 1 17:10:59 EDT 2005


Cliff Wells wrote:

> On Mon, 2005-08-01 at 12:28 +0200, Benjamin Niemann wrote:
>> Cliff Wells wrote:
> 
>[snip] 
>
>> > 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.
This would still be problematic with company firewall that block everything
but a handful of ports. Port 80 is still one of the safest bets.


-- 
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/



More information about the Python-list mailing list