From 0cbfc0d249e6a6af3f54ef2b92fd1af1e2928a4f Mon Sep 17 00:00:00 2001 From: Stuart Gathman Date: Thu, 21 Jul 2005 17:59:46 +0000 Subject: [PATCH] Limit CNAME lookups. --- spf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spf.py b/spf.py index e8f2096..c116e22 100755 --- a/spf.py +++ b/spf.py @@ -47,6 +47,9 @@ For news, bugfixes, etc. visit the home page for this implementation at # Terrence is not responding to email. # # $Log$ +# Revision 1.11 2005/07/20 03:30:04 customdesigned +# Check pydspam version for honeypot, include latest pyspf changes. +# # Revision 1.26 2005/07/20 03:12:40 customdesigned # When not in strict mode, don't give PermErr for bad mechanism until # encountered during evaluation. @@ -872,6 +875,7 @@ class query(object): self.cache.setdefault(k, []).append(v) result = self.cache.get( (name, qtype), []) if not result and cname: + self.check_lookups() result = self.dns(cname, qtype) return result