Eliminate Spam Now... >g< Python w/DNS/&POP3
Benjamin Schollnick
junkster at rochester.rr.com
Sun Mar 17 19:32:37 EST 2002
on 3/17/02 5:48 PM, Neil Schemenauer at nas at python.ca wrote:
> Look at the check() function. It does a RBL-like check using
>socket.gethostbyname().
I missed something fundamental, but quite simple.
Your not doing a getbyhostname ("www.yahoo.com").... You are doing a
gethostbyname ("www.yahoo.com.outputs.orbz.org") which forces your
DNS server to check the ORBZ DNS server....
I feel a little foolish for not realizing that...
Thanks for the hint, and that has completely (!!) simplified the entire
problem by several 1000%.
- Benjamin
More information about the Python-list
mailing list