
scott at kitterman
Dec 2, 2008, 2:07 PM
Post #5 of 10
(2663 views)
Permalink
|
|
Re: python policyd-spf hangs when Domain_Whitelist is used
[In reply to]
|
|
On Wed, 3 Dec 2008 08:52:32 +1100 "Jeff Mills" <hybiepoo [at] gmail> wrote: >On Tue, Dec 2, 2008 at 6:46 PM, Scott Kitterman <scott [at] kitterman> wrote: >> On Tuesday 02 December 2008 00:37, Jeff Mills wrote: >>> Firstly, the reason I'm having to whitelist a domain is because python >>> policyd times out when checking an email sent from aol. Not sure why >>> this is - possibly because of a very long SPF record? >> >> aol.com has a record big enough that it won't generally fit in a UDP packet >> and so it has to fall back to TCP. This is legal, but not recommended by RFC >> 4408. >> >> Some things to check: >> >> Make sure you have the current pyspf (python-spf) and pydns (python-dns). You >> need pyspf 2.0.5 (or 2.0.4-4 in Debian/Ubuntu) and pydns at least 2.3.1 (and >> you really want 2.3.3 for security reasons). Earlier versions did not >> support TCP fallback. >> >> If those are current, then consider using tcpdump or wireshark to capture the >> DNS traffic. Some firewalls block DNS on TCP by default. If it's just AOL, >> then I'm reasonably certain it's something to do with TCP fallback and not >> the Python policy server. >> >> Scott K >> > >Thanks Scott, >Looks like I have the right versions installed, so unfortunately its >time to go digging. > >[ Searching for package 'pydns' in all categories among: ] > * installed packages >[I--] [ ~] dev-python/pydns-2.3.3 (0) > >[ Searching for package 'pyspf' in all categories among: ] > * installed packages >[I--] [ ~] dev-python/pyspf-2.0.5 (0) I assume you looked in your mail logs and there are no errors of note? If you can capture the attempt with tcpdump or wireshark, I'll have a look. Send it off list if you prefer. At this point my money is on router/firewall confguration. Scott K ------------------------------------------- Sender Policy Framework: http://www.openspf.org Modify Your Subscription: http://www.listbox.com/member/ Archives: https://www.listbox.com/member/archive/1020/=now RSS Feed: https://www.listbox.com/member/archive/rss/1020/ Powered by Listbox: http://www.listbox.com
|