** Description changed:

- Will follow up through Web interface.
+ It seems that the long SPF records for "aol.com" are causing
+ python-policyd-spf to fail when getting the DNS TXT record by UDP.
+ 
+ Here are the TXT records fetched on www.volano.com:
+ 
+ $ host -t txt aol.com
+ ;; Warning: Message parser reports malformed message packet.
+ ;; Truncated, retrying in TCP mode.
+ aol.com descriptive text "v=spf1 ip4:152.163.225.0/24 ip4:205.188.139.0/24
+ ip4:205.188.144.0/24 ip4:205.188.156.0/23 ip4:205.188.159.0/24
+ ip4:64.12.136.0/23 ip4:64.12.138.0/24 ip4:64.12.143.99/32
+ ip4:64.12.143.100/32 ip4:64.12.143.101/32 ptr:mx.aol.com ?all"
+ aol.com descriptive text "spf2.0/pra ip4:152.163.225.0/24
+ ip4:205.188.139.0/24 ip4:205.188.144.0/24 ip4:205.188.156.0/23
+ ip4:205.188.159.0/24 ip4:64.12.136.0/23 ip4:64.12.138.0/24
+ ip4:64.12.143.99/32 ip4:64.12.143.100/32 ip4:64.12.143.101/32
+ ptr:mx.aol.com ?all"
+ 
+ Here is the timeout getting the TXT records on www.commspeak.com,
+ presumably because they're dropped by intervening routers:
+ 
+ $ host -t txt aol.com
+ ;; connection timed out; no servers could be reached
+ 
+ The Postfix configuration on both machines is:
+ 
+ main.cf
+ -------
+ smtpd_recipient_restrictions =
+     ...
+     warn_if_reject check_policy_service unix:private/policy-spf
+     ...
+ 
+ master.cf
+ ---------
+ ...
+ # Python Sender Policy Framework (SPF) Service
+ policy-spf unix -       n       n       -       -       spawn
+   user=nobody argv=/usr/bin/policyd-spf
+ 
+ In the Postfix log files, I get the following on www.volano.com:
+ 
+ Mar 14 11:24:39 ldc1042 postfix/smtpd[8296]: connect from
+     imr-m06.mx.aol.com[64.12.138.200]
+ Mar 14 11:24:39 ldc1042 policyd-spf[8298]: :HELO client-ip=64.12.138.200;
+     helo=imr-m06.mx.aol.com; [EMAIL PROTECTED];
+     [EMAIL PROTECTED];
+ Mar 14 11:24:39 ldc1042 policyd-spf[8298]: SPF Temporary Error:
+     DNS Ran off end of data:Mail From client-ip=64.12.138.200;
+     helo=imr-m06.mx.aol.com; [EMAIL PROTECTED];
+     [EMAIL PROTECTED];
+ Mar 14 11:24:39 ldc1042 postfix/smtpd[8296]: NOQUEUE: reject: RCPT
+     from imr-m06.mx.aol.com[64.12.138.200]: 450 4.7.1 <[EMAIL PROTECTED]>:
+     Recipient address rejected: Received-SPF: Temperror (SPF Temporary
+     Error: DNS Ran off end of data) Mail From client-ip=64.12.138.200;
+     helo=imr-m06.mx.aol.com; [EMAIL PROTECTED];
+     [EMAIL PROTECTED]; ; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]>
+     proto=ESMTP helo=<imr-m06.mx.aol.com>
+ Mar 14 11:24:40 ldc1042 postfix/smtpd[8296]: disconnect from
+     imr-m06.mx.aol.com[64.12.138.200]
+ 
+ On www.commspeak.com I get:
+ 
+ Mar 14 09:24:07 www postfix/smtpd[2882]: connect from
+     imr-m06.mx.aol.com[64.12.138.200]
+ Mar 14 09:24:08 www policyd-spf[2886]: :HELO client-ip=64.12.138.200;
+     helo=imr-m06.mx.aol.com; [EMAIL PROTECTED];
+     [EMAIL PROTECTED];
+ Mar 14 09:24:38 www policyd-spf[2886]: SPF Temporary Error: DNS
+     Timeout:Mail From client-ip=64.12.138.200; helo=imr-m06.mx.aol.com;
+     [EMAIL PROTECTED]; [EMAIL PROTECTED];
+ Mar 14 09:24:38 www postfix/smtpd[2882]: NOQUEUE: reject: RCPT from
+     imr-m06.mx.aol.com[64.12.138.200]: 450 4.7.1 <[EMAIL PROTECTED]>:
+     Recipient address rejected: Received-SPF: Temperror (SPF Temporary Error:
+     DNS Timeout) Mail From client-ip=64.12.138.200; helo=imr-m06.mx.aol.com;
+     [EMAIL PROTECTED]; [EMAIL PROTECTED];
+     ; from=<[EMAIL PROTECTED]> to=<[EMAIL PROTECTED]> proto=ESMTP
+     helo=<imr-m06.mx.aol.com>
+ Mar 14 09:24:40 www postfix/smtpd[2882]: disconnect from
+     imr-m06.mx.aol.com[64.12.138.200]
  
  ProblemType: Bug
  Architecture: i386
  Date: Sat Mar 22 12:46:20 2008
  DistroRelease: Ubuntu 7.10
  Package: python-spf 2.0.4-1
  PackageArchitecture: all
  SourcePackage: pyspf
  Uname: Linux www 2.6.22-14-server #1 SMP Sun Oct 14 23:34:23 GMT 2007 i686 
GNU/Linux

-- 
python-policyd-spf failing on AOL SPF records.
https://bugs.launchpad.net/bugs/205254
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to