SMTP server w/o using Twisted framework
Steve Holden
steve at holdenweb.com
Fri Jul 6 06:42:08 EDT 2007
Gerhard Häring wrote:
> _spitFIRE wrote:
>> [looking up DNS MX records]
>> Thanks for the pointer. However, as I said currently, I can't use
>> anything other than the standard libraries.
>
> Sure you can. You just need to get rid of the "only standard library"
> requirement rule.
>
> That works best by showing the alternatives to whoever set that requirement:
>
> - use pyDNS
> - use an existing (probably non-Python) SMTP daemon
> - reimplement some parts of pyDNS yourself and develop a basic (crappy)
> SMTP daemon yourself
>
> For doing the latter, you should budget at least one week.
>
> FWIW another reason why SMTP servers should retry on temporary failure
> is that increasing use of Greylisting (*), which was precisely designed
> to filter out mail from "crappy" servers, like botnets, and - well -
> cheap custom written ones ;-)
>
I'd actually use dnspython in preference to pyDNS, it's very easy to
use. I have some MX-server lookup code somewhere in the vault, if you
can use an external library.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------
More information about the Python-list
mailing list