spf-discuss
[Top] [All Lists]

Re: Why is this failing?

2004-06-13 08:23:58
On Sun, 2004-06-13 at 07:12, Michael Weiner wrote:
Folks - 

I am having some issues telling whether or not spf is working due to
some errors i am seeing coming back in the email headers from one of my
users. I have spf and srs setup in accordance with all the information i
could find at pobox (at least i believe i have). And i have srs embedded
within sendmail for envelope rewriting. Anyway, i am seeing some issues
here.

Here is my current spf1 record:

userfriendly.net.       86400   IN      TXT     "v=spf1 mx a:sunshine.
userfriendly.net a:nomad.userfriendly.net a:niteowl.userfriendly.net a:
moonbeam.userfriendly.net ip4:68.22.33.177/32 ip4:68.22.33.178/32
ip4:68.22.33.179/32 ip4:68.22.33.180/32 ip4:68.22.33.181/32
ip4:68.22.33.182/32 -all"

My basic thought here was to specify the 6 ip addresses i KNOW are
sending email through userfriendly, as well as the "named" hosts within
the network. Any problems here with my thought processes?
 
Now, my partner received an email with the following headers:

<snip>
From partners(_at_)userfriendly(_dot_)net Sun Jun 13 03:57:14 2004
Return-Path: <partners(_at_)userfriendly(_dot_)net>
Received: from PC31 ([218.38.114.41])by niteowl.userfriendly.net
(8.12.10/8.12.10 Public port 25! WARNING... abuse, unauthorized access,
or spam sent to this host constitutes acceptance of civil and or
criminal liability by the sender! You have been warned. No UCE!) with
SMTP id i5D7vIbF000529 for <partners(_at_)userfriendly(_dot_)net>; Sun, 13 
Jun 2004
03:57:20 -0400 
Received: from 208.243.96.251 by 218.38.114.41; Mon, 14 Jun 2004
00:46:05 +0400
Message-ID: <ULDIOEPWTBZIHDJOZKJGQK(_at_)nasacom(_dot_)ch>
From: "partners(_at_)userfriendly(_dot_)net" 
<partners(_at_)userfriendly(_dot_)net>
Reply-To: "partners(_at_)userfriendly(_dot_)net" 
<partners(_at_)userfriendly(_dot_)net>
To: partners(_at_)userfriendly(_dot_)net
Subject: [UFN-SpamCop] partners(_at_)userfriendly(_dot_)net
Date: Sun, 13 Jun 2004 23:40:05 +0300
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----------=_40CC08E4.23BD02E5"
X-Spam-Flag: YES
X-Spam-Status: Yes, score=7.9 required=5.0 tests=ADDRESS_IN_SUBJECT,
ALL_TRUSTED,BAD_CREDIT,DCC_CHECK,DIGEST_MULTIPLE,MY_MISC_BODY,
PYZOR_CHECK,RATWR19_MESSID,RCVD_BY_IP,RCVD_DOUBLE_IP_SPAM 
autolearn=no version=3.0.0-r9952
X-Spam-Level: *******
X-Spam-Checker-Version: SpamAssassin 3.0.0-r9952 (2004-04-09) on 
niteowl.userfriendly.net
X-DCC-dcc.uncw.edu-Metrics: niteowl 1201; Body=1 Fuz1=1 Fuz2=1
Received-SPF: unknown (niteowl: error in processing during lookup of
partners(_at_)userfriendly(_dot_)net)
Status: 
</snip>

Now obviously SPF was supposed to prevent such an email from entering
the system as it did NOT come from a permitted sender, yet the SPF check
FAILS, and thats the piece i am trying to figure out why. When i run
spftest on niteowl, everything appears to work fine - yet i still
receive ERRORS IN PROCESSING. I even ran my records against some of the
test suites on the website and the penguin site as well, and everything
seemed to work correctly there. So i am a little confused as to what is
going on, and just how to "debug."

What exactly is causing that, and how can i FIX this? And i need a
favor, can anyone out there in the real world tell if SRS is functioning
correctly for userfriendly.net?

Firstly, please note the language difference when posting.  It did
'fail' in the sense that it didn't work, but better language given that
the word 'fail' directly represents one of the status outputs of an SPF
parse, would have been "errored".

Received-SPF: unknown (niteowl: error in processing during lookup of
partners(_at_)userfriendly(_dot_)net)

userfriendly.net.       86238   IN      TXT     "v=spf1 mx
a:sunshine.userfriendly.net a:nomad.userfriendly.net
a:niteowl.userfriendly.net a:moonbeam.userfriendly.net
ip4:68.22.33.177/32 ip4:68.22.33.178/32 ip4:68.22.33.179/32
ip4:68.22.33.180/32 ip4:68.22.33.181/32 ip4:68.22.33.182/32 -all"
userfriendly.net.       86238   IN      TXT     "The UserFriendly
Network"

Likely because you are publishing a TXT record which contains "The
UserFreindly Network".  libspf parses your record just fine since it
ignores this text.

I could have just discovered this with a dig, but I first used libspf's
spfquery tool in full debug mode which I have just pasted in here since
i'm unsure of attachments making it onto the list sorry if its a little
verbose:

I wasn't sure if the IP you were trying was 218.38.114.41 or not, but
either way it fails.

james(_at_)code3 tools $ ./spfquery -ipv4=218.38.114.41
-sender=partners(_at_)userfriendly(_dot_)net -helo=code3 > userfriendly.txt

UTIL_strndup :: Allocated 24 bytes of memory.
UTIL_strndup :: Returning string: (v=spf1 a/24 mx/24 ptr )
UTIL_strndup :: Allocated 43 bytes of memory.
UTIL_strndup :: Returning string: (v=spf1
include:spf.trusted-forwarder.org )
UTIL_strndup :: Allocated 9 bytes of memory.
UTIL_strndup :: Returning string: (spfquery)
UTIL_strndup :: Allocated 14 bytes of memory. 
UTIL_strndup :: Returning string: (218.38.114.41)
UTIL_strndup :: Allocated 9 bytes of memory.
UTIL_strndup :: Returning string: (spfquery)
UTIL_free :: Free address 0x804b3b0 by SPF_init on line 185 (main.c)
UTIL_assoc_prefix :: (QID: 0) :: Stored SPF_NEUTRAL (5) (5)
SPF_init :: libspf initialized succesfully. (724 bytes allocated)
SPF_smtp_helo :: called with (code3)
UTIL_strdup :: Returning string: (code3)
UTIL_free :: Unable to free() on NULL pointer at main.c:1095 in
SPF_smtp_from; address 0x0.
UTIL_free :: Unable to free() on NULL pointer at main.c:1096 in
SPF_smtp_from; address 0x0.
UTIL_strdup :: Returning string: (partners(_at_)userfriendly(_dot_)net)
SPF_smtp_from :: FROM: (partners(_at_)userfriendly(_dot_)net) (called with:
partners(_at_)userfriendly(_dot_)net)
UTIL_strdup :: Returning string: (userfriendly.net) 
SPF_smtp_from :: CUR DOM: (userfriendly.net)
SPF_smtp_from :: LOCAL: (partners) DOMAIN (userfriendly.net) SENDER:
(partners(_at_)userfriendly(_dot_)net)
DNS_query :: Called with (userfriendly.net) and type: 5
DNS_query :: Cache looking for userfriendly.net 5
CACHE_lookup :: Cache lookup userfriendly.net 5 
_CACHE_init :: Cache initializing 
CACHE_lookup :: Cache lookup locating userfriendly.net in AVL
DNS_query :: Cache Miss: userfriendly.net
UTIL_free :: Free address 0x804b3f8 by DNS_query on line 124 (dns.c)
UTIL_assoc_prefix :: (QID: 0) :: Stored SPF_NONE (1) (1) 
DNS_query :: policy result: (none) from rule ()DNS_query :: Received
packet size of -1 bytes which contains 0 answers.
DNS_query :: ANSWERS: 0
DNS_query :: QUESTIONS: 1
DNS_query :: Called with (userfriendly.net) and type: 16
DNS_query :: Cache looking for userfriendly.net 16
CACHE_lookup :: Cache lookup userfriendly.net 16
CACHE_lookup :: Cache lookup locating userfriendly.net in AVL
DNS_query :: Cache Miss: userfriendly.net 
UTIL_free :: Free address 0x804b458 by DNS_query on line 124 (dns.c)
DNS_query :: Received packet size of 362 bytes which contains 2 answers.
DNS_query :: ANSWERS: 2
DNS_query :: QUESTIONS: 1
DNS_txt_answer :: Answer 2 has length 243. (243) 
DNS_txt_answer :: Answer Data: (v=spf1 mx a:sunshine.userfriendly.net
a:nomad.userfriendly.net a:niteowl.userfriendly.net
a:moonbeam.userfriendly.net ip4:68.22.33.177/32 ip4:68.22.33.178/32
ip4:68.22.33.179/32 ip4:68.22.33.180/32 ip4:68.22.33.181/32
ip4:68.22.33.182/32 -all ) len: 243
DNS_txt_answer :: REALLOCATE memory: 243 bytes
DNS_txt_answer :: Answer 1 has length 25. (268)
DNS_txt_answer :: Answer Data: (The UserFriendly Network ) len: 25
DNS_txt_answer :: REALLOCATE memory: 268 bytes
DNS_query :: Cache inserting as 0: userfriendly.net 16 86109
CACHE_insert :: Cache insert userfriendly.net 16 86109
CACHE_insert :: Cache insert 1087225866 to entry expiry map tree
CACHE_insert :: Cache insert userfriendly.net to entry tree
CACHE_insert :: Inserted, sizes: names: 1 ttls: 1
SPF_policy_main_rec :: (QID: 0) :: Error parsing ANSWER(s)
UTIL_assoc_prefix :: (QID: 0) :: Stored SPF_NONE (1) (1)
SPF_parse_policy :: (QID: 0) :: about to parse (v=spf1 mx
a:sunshine.userfriendly.net a:nomad.userfriendly.net
a:niteowl.userfriendly.net a:moonbeam.userfriendly.net
ip4:68.22.33.177/32 ip4:68.22.33.178/32 ip4:68.22.33.179/32
ip4:68.22.33.180/32 ip4:68.22.33.181/32 ip4:68.22.33.182/32 -all The
UserFriendly Network ) of len: 268 (none)
UTIL_strndup :: Allocated 269 bytes of memory.
UTIL_strndup :: Returning string: (v=spf1 mx a:sunshine.userfriendly.net
a:nomad.userfriendly.net a:niteowl.userfriendly.net
a:moonbeam.userfriendly.net ip4:68.22.33.177/32 ip4:68.22.33.178/32
ip4:68.22.33.179/32 ip4:68.22.33.180/32 ip4:68.22.33.181/32
ip4:68.22.33.182/32 -all The UserFriendly Network )
UTIL_index :: Found search char: ( ); Returning: (6)
UTIL_strndup :: Allocated 7 bytes of memory.
UTIL_strndup :: Returning string: (v=spf1)
UTIL_is_spf_result :: Called with char (v)
UTIL_get_policy_mech :: Called with: (v=spf1)
UTIL_get_policy_mech :: Returning 1 (VERSION)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 1 (token: v=spf1)
(pos: 6)
SPF_parse_policy :: (QID: 0) :: policy mechanism is version (v=spf1)
UTIL_index :: Found search char: (=); Returning: (1)
SPF_parse_policy :: (QID: 0) :: SPF Version defined as: 1
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (2)
UTIL_strndup :: Allocated 3 bytes of memory.
UTIL_strndup :: Returning string: (mx)
UTIL_is_spf_result :: Called with char (m)
UTIL_get_policy_mech :: Called with: (mx)
UTIL_get_policy_mech :: Returning 5 (MX)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 5 (token: mx)
(pos: 2)
SPF_parse_policy :: (QID: 0) :: policy mechanism is mx (mx)
DNS_query :: Called with (userfriendly.net) and type: 15
DNS_query :: Cache looking for userfriendly.net 15
CACHE_lookup :: Cache lookup userfriendly.net 15
CACHE_lookup :: Cache lookup locating userfriendly.net in AVL
DNS_query :: Cache Miss: userfriendly.net
UTIL_free :: Free address 0x804b820 by DNS_query on line 124 (dns.c)
DNS_query :: Received packet size of 147 bytes which contains 2 answers.
DNS_query :: ANSWERS: 2
DNS_query :: QUESTIONS: 1
DNS_mx_answer :: MX: spambox.userfriendly.net Preference: 10
DNS_mx_answer :: REALLOCATE memory: 26 bytes
DNS_mx_answer :: MX: mail.userfriendly.net Preference: 20
DNS_mx_answer :: REALLOCATE memory: 48 bytes
DNS_query :: Cache inserting as 0: userfriendly.net 15 86109
CACHE_insert :: Cache insert userfriendly.net 15 86109
CACHE_insert :: Cache insert 1087225866 to entry expiry map tree
UTIL_free :: Free address 0x804b458 by _CACHE_free_ttl on line 232
(cache.c)
CACHE_insert :: Cache insert userfriendly.net to entry tree
CACHE_insert :: Inserted, sizes: names: 2 ttls: 1
UTIL_mx_cmp :: rr_data is: (spambox.userfriendly.net
mail.userfriendly.net)
UTIL_strndup :: Allocated 16 bytes of memory.
UTIL_strndup :: Returning string: (218.38.114.41)
UTIL_mx_cmp :: TOKEN: (spambox.userfriendly.net)
UTIL_validate_hostname :: Called with: (134525832) and
(spambox.userfriendly.net)
UTIL_strndup :: Allocated 17 bytes of memory.
UTIL_strndup :: Returning string: (68.22.33.179)
UTIL_validate_hostname :: CLI: 68.22.33.179 (3005290052) SRV:
218.38.114.41 (695346906)
UTIL_free :: Free address 0x804bed8 by UTIL_validate_hostname on line
1782 (util.c)
UTIL_mx_cmp :: TOKEN: (mail.userfriendly.net)
UTIL_validate_hostname :: Called with: (134525832) and
(mail.userfriendly.net)
UTIL_strndup :: Allocated 17 bytes of memory.
UTIL_strndup :: Returning string: (68.22.33.177)
UTIL_validate_hostname :: CLI: 68.22.33.177 (2971735620) SRV:
218.38.114.41 (695346906)
UTIL_free :: Free address 0x804bed8 by UTIL_validate_hostname on line
1782 (util.c)
UTIL_free :: Free address 0x804b8e8 by UTIL_mx_cmp on line 768 (util.c)
UTIL_free :: Free address 0x804b830 by UTIL_mx_cmp on line 769 (util.c)
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (27)
UTIL_strndup :: Allocated 28 bytes of memory.
UTIL_strndup :: Returning string: (a:sunshine.userfriendly.net)
UTIL_is_spf_result :: Called with char (a)
UTIL_get_policy_mech :: Called with: (a:sunshine.userfriendly.net)
UTIL_get_policy_mech :: Returning 4 (A)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 4 (token:
a:sunshine.userfriendly.net) (pos: 27)
SPF_parse_policy :: (QID: 0) :: policy mechanism is A
(a:sunshine.userfriendly.net)
UTIL_a_cmp :: Called with (a:sunshine.userfriendly.net) and cidr: 32
UTIL_strndup :: Allocated 28 bytes of memory.
UTIL_strndup :: Returning string: (a:sunshine.userfriendly.net)
UTIL_index :: Found search char: (:); Returning: (1)
UTIL_a_cmp :: Checking IP: 1778297024
UTIL_cidr_cmp :: POL: 1778297024 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 1778297024 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by UTIL_a_cmp on line 891 (util.c)
UTIL_free :: Free address 0x804c8f0 by UTIL_a_cmp on line 892 (util.c)
UTIL_free :: Free address 0x804bed8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (24)
UTIL_strndup :: Allocated 25 bytes of memory.
UTIL_strndup :: Returning string: (a:nomad.userfriendly.net)
UTIL_is_spf_result :: Called with char (a)
UTIL_get_policy_mech :: Called with: (a:nomad.userfriendly.net)
UTIL_get_policy_mech :: Returning 4 (A)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 4 (token:
a:nomad.userfriendly.net) (pos: 24)
SPF_parse_policy :: (QID: 0) :: policy mechanism is A
(a:nomad.userfriendly.net)
UTIL_a_cmp :: Called with (a:nomad.userfriendly.net) and cidr: 32
UTIL_strndup :: Allocated 25 bytes of memory.
UTIL_strndup :: Returning string: (a:nomad.userfriendly.net)
UTIL_index :: Found search char: (:); Returning: (1)
UTIL_a_cmp :: Checking IP: 150907072
UTIL_cidr_cmp :: POL: 150907072 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 150907072 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by UTIL_a_cmp on line 891 (util.c)
UTIL_free :: Free address 0x804c8f0 by UTIL_a_cmp on line 892 (util.c)
UTIL_free :: Free address 0x804bed8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (26)
UTIL_strndup :: Allocated 27 bytes of memory.
UTIL_strndup :: Returning string: (a:niteowl.userfriendly.net)
UTIL_is_spf_result :: Called with char (a)
UTIL_get_policy_mech :: Called with: (a:niteowl.userfriendly.net)
UTIL_get_policy_mech :: Returning 4 (A)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 4 (token:
a:niteowl.userfriendly.net) (pos: 26)
SPF_parse_policy :: (QID: 0) :: policy mechanism is A
(a:niteowl.userfriendly.net)
UTIL_a_cmp :: Called with (a:niteowl.userfriendly.net) and cidr: 32
UTIL_strndup :: Allocated 27 bytes of memory.
UTIL_strndup :: Returning string: (a:niteowl.userfriendly.net)
UTIL_index :: Found search char: (:); Returning: (1)
UTIL_a_cmp :: Checking IP: 1711188160
UTIL_cidr_cmp :: POL: 1711188160 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 1711188160 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by UTIL_a_cmp on line 891 (util.c)
UTIL_free :: Free address 0x804c8f0 by UTIL_a_cmp on line 892 (util.c)
UTIL_free :: Free address 0x804bed8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (27)
UTIL_strndup :: Allocated 28 bytes of memory.
UTIL_strndup :: Returning string: (a:moonbeam.userfriendly.net)
UTIL_is_spf_result :: Called with char (a)
UTIL_get_policy_mech :: Called with: (a:moonbeam.userfriendly.net)
UTIL_get_policy_mech :: Returning 4 (A)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 4 (token:
a:moonbeam.userfriendly.net) (pos: 27)
SPF_parse_policy :: (QID: 0) :: policy mechanism is A
(a:moonbeam.userfriendly.net)
UTIL_a_cmp :: Called with (a:moonbeam.userfriendly.net) and cidr: 32
UTIL_strndup :: Allocated 28 bytes of memory.
UTIL_strndup :: Returning string: (a:moonbeam.userfriendly.net)
UTIL_index :: Found search char: (:); Returning: (1)
UTIL_a_cmp :: Checking IP: 1727965376
UTIL_cidr_cmp :: POL: 1727965376 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 1727965376 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by UTIL_a_cmp on line 891 (util.c)
UTIL_free :: Free address 0x804c8f0 by UTIL_a_cmp on line 892 (util.c)
UTIL_free :: Free address 0x804bed8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (19)
UTIL_strndup :: Allocated 20 bytes of memory.
UTIL_strndup :: Returning string: (ip4:68.22.33.177/32)
UTIL_is_spf_result :: Called with char (i)
UTIL_get_policy_mech :: Called with: (ip4:68.22.33.177/32)
UTIL_get_policy_mech :: Returning 7 (IP4)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 7 (token:
ip4:68.22.33.177/32) (pos: 19)
SPF_parse_policy :: (QID: 0) :: policy mechanism is ip4
(ip4:68.22.33.177/32)
UTIL_expand_ip :: Called with string: (ip4:68.22.33.177/32)
UTIL_index :: Found search char: (:); Returning: (3)
UTIL_index :: Found search char: (/); Returning: (12)
UTIL_strndup :: Allocated 13 bytes of memory.
UTIL_strndup :: Returning string: (68.22.33.177)
UTIL_free :: Free address 0x804b830 by UTIL_expand_ip on line 1428
(util.c)
UTIL_expand_ip :: CIDR: (32) IP: (68.22.33.177)
SPF_parse_policy :: (QID: 0) :: POL: 2971735620 (ip4:68.22.33.177/32)
PEER: 695346906 (218.38.114.41)
UTIL_cidr_cmp :: POL: 2971735620 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 2971735620 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 740
(main.c)
UTIL_free :: Free address 0x804b8e8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (19)
UTIL_strndup :: Allocated 20 bytes of memory.
UTIL_strndup :: Returning string: (ip4:68.22.33.178/32)
UTIL_is_spf_result :: Called with char (i)
UTIL_get_policy_mech :: Called with: (ip4:68.22.33.178/32)
UTIL_get_policy_mech :: Returning 7 (IP4)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 7 (token:
ip4:68.22.33.178/32) (pos: 19)
SPF_parse_policy :: (QID: 0) :: policy mechanism is ip4
(ip4:68.22.33.178/32)
UTIL_expand_ip :: Called with string: (ip4:68.22.33.178/32)
UTIL_index :: Found search char: (:); Returning: (3)
UTIL_index :: Found search char: (/); Returning: (12)
UTIL_strndup :: Allocated 13 bytes of memory.
UTIL_strndup :: Returning string: (68.22.33.178)
UTIL_free :: Free address 0x804b830 by UTIL_expand_ip on line 1428
(util.c)
UTIL_expand_ip :: CIDR: (32) IP: (68.22.33.178)
SPF_parse_policy :: (QID: 0) :: POL: 2988512836 (ip4:68.22.33.178/32)
PEER: 695346906 (218.38.114.41)
UTIL_cidr_cmp :: POL: 2988512836 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 2988512836 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 740
(main.c)
UTIL_free :: Free address 0x804b8e8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (19)
UTIL_strndup :: Allocated 20 bytes of memory.
UTIL_strndup :: Returning string: (ip4:68.22.33.179/32)
UTIL_is_spf_result :: Called with char (i)
UTIL_get_policy_mech :: Called with: (ip4:68.22.33.179/32)
UTIL_get_policy_mech :: Returning 7 (IP4)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 7 (token:
ip4:68.22.33.179/32) (pos: 19)
SPF_parse_policy :: (QID: 0) :: policy mechanism is ip4
(ip4:68.22.33.179/32)
UTIL_expand_ip :: Called with string: (ip4:68.22.33.179/32)
UTIL_index :: Found search char: (:); Returning: (3)
UTIL_index :: Found search char: (/); Returning: (12)
UTIL_strndup :: Allocated 13 bytes of memory.
UTIL_strndup :: Returning string: (68.22.33.179)
UTIL_free :: Free address 0x804b830 by UTIL_expand_ip on line 1428
(util.c)
UTIL_expand_ip :: CIDR: (32) IP: (68.22.33.179)
SPF_parse_policy :: (QID: 0) :: POL: 3005290052 (ip4:68.22.33.179/32)
PEER: 695346906 (218.38.114.41)
UTIL_cidr_cmp :: POL: 3005290052 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 3005290052 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 740
(main.c)
UTIL_free :: Free address 0x804b8e8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (19)
UTIL_strndup :: Allocated 20 bytes of memory.
UTIL_strndup :: Returning string: (ip4:68.22.33.180/32)
UTIL_is_spf_result :: Called with char (i)
UTIL_get_policy_mech :: Called with: (ip4:68.22.33.180/32)
UTIL_get_policy_mech :: Returning 7 (IP4)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 7 (token:
ip4:68.22.33.180/32) (pos: 19)
SPF_parse_policy :: (QID: 0) :: policy mechanism is ip4
(ip4:68.22.33.180/32)
UTIL_expand_ip :: Called with string: (ip4:68.22.33.180/32)
UTIL_index :: Found search char: (:); Returning: (3)
UTIL_index :: Found search char: (/); Returning: (12)
UTIL_strndup :: Allocated 13 bytes of memory.
UTIL_strndup :: Returning string: (68.22.33.180)
UTIL_free :: Free address 0x804b830 by UTIL_expand_ip on line 1428
(util.c)
UTIL_expand_ip :: CIDR: (32) IP: (68.22.33.180)
SPF_parse_policy :: (QID: 0) :: POL: 3022067268 (ip4:68.22.33.180/32)
PEER: 695346906 (218.38.114.41)
UTIL_cidr_cmp :: POL: 3022067268 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 3022067268 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 740
(main.c)
UTIL_free :: Free address 0x804b8e8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (19)
UTIL_strndup :: Allocated 20 bytes of memory.
UTIL_strndup :: Returning string: (ip4:68.22.33.181/32)
UTIL_is_spf_result :: Called with char (i)
UTIL_get_policy_mech :: Called with: (ip4:68.22.33.181/32)
UTIL_get_policy_mech :: Returning 7 (IP4)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 7 (token:
ip4:68.22.33.181/32) (pos: 19)
SPF_parse_policy :: (QID: 0) :: policy mechanism is ip4
(ip4:68.22.33.181/32)
UTIL_expand_ip :: Called with string: (ip4:68.22.33.181/32)
UTIL_index :: Found search char: (:); Returning: (3)
UTIL_index :: Found search char: (/); Returning: (12)
UTIL_strndup :: Allocated 13 bytes of memory.
UTIL_strndup :: Returning string: (68.22.33.181)
UTIL_free :: Free address 0x804b830 by UTIL_expand_ip on line 1428
(util.c)
UTIL_expand_ip :: CIDR: (32) IP: (68.22.33.181)
SPF_parse_policy :: (QID: 0) :: POL: 3038844484 (ip4:68.22.33.181/32)
PEER: 695346906 (218.38.114.41)
UTIL_cidr_cmp :: POL: 3038844484 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 3038844484 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 740
(main.c)
UTIL_free :: Free address 0x804b8e8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (19)
UTIL_strndup :: Allocated 20 bytes of memory.
UTIL_strndup :: Returning string: (ip4:68.22.33.182/32)
UTIL_is_spf_result :: Called with char (i)
UTIL_get_policy_mech :: Called with: (ip4:68.22.33.182/32)
UTIL_get_policy_mech :: Returning 7 (IP4)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 7 (token:
ip4:68.22.33.182/32) (pos: 19)
SPF_parse_policy :: (QID: 0) :: policy mechanism is ip4
(ip4:68.22.33.182/32)
UTIL_expand_ip :: Called with string: (ip4:68.22.33.182/32)
UTIL_index :: Found search char: (:); Returning: (3)
UTIL_index :: Found search char: (/); Returning: (12)
UTIL_strndup :: Allocated 13 bytes of memory.
UTIL_strndup :: Returning string: (68.22.33.182)
UTIL_free :: Free address 0x804b830 by UTIL_expand_ip on line 1428
(util.c)
UTIL_expand_ip :: CIDR: (32) IP: (68.22.33.182)
SPF_parse_policy :: (QID: 0) :: POL: 3055621700 (ip4:68.22.33.182/32)
PEER: 695346906 (218.38.114.41)
UTIL_cidr_cmp :: POL: 3055621700 PEER: 695346906 CIDR: 32
UTIL_cidr_cmp :: 695346906 and 3055621700 using 32 cidr do not match
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 740
(main.c)
UTIL_free :: Free address 0x804b8e8 by SPF_parse_policy on line 883
(main.c)
UTIL_index :: Found search char: ( ); Returning: (4)
UTIL_strndup :: Allocated 5 bytes of memory.
UTIL_strndup :: Returning string: (-all)
UTIL_is_spf_result :: Called with char (-)
UTIL_get_mech_prefix :: (QID: 0) :: Returning SPF_H_FAIL (-all) 3
UTIL_get_policy_mech :: Called with: (all)
UTIL_get_policy_mech :: Returning 2 (ALL)
SPF_parse_policy :: (QID: 0) :: SPF Policy Mechanism: 2 (token: all)
(pos: 4)
SPF_parse_policy :: (QID: 0) :: policy mechanism is all (all) policy:
(2)
UTIL_assoc_prefix :: (QID: 0) :: Stored SPF_H_FAIL (3) (3)
UTIL_free :: Free address 0x804b810 by SPF_parse_policy on line 883
(main.c)
UTIL_assoc_prefix :: (QID: 0) :: Entering function (3) (-all)
UTIL_assoc_prefix :: (QID: 0) :: Stored SPF_H_FAIL (3) (3)
UTIL_free :: Free address 0x804b6f8 by SPF_parse_policy on line 891
(main.c)
UTIL_free :: Free address 0x804b468 by SPF_policy_main_rec on line 338
(main.c)
UTIL_strndup :: Allocated 69 bytes of memory.
UTIL_strndup :: Returning string: (See
http://spf.pobox.com/why.html?sender=%{S}&ip=%{I}&receiver=%{xR})
UTIL_index :: Found search char: (%); Returning: (41)
MACRO_addbuf :: Called with (See http://spf.pobox.com/why.html?sender=)
42 (41) bytes.
MACRO_addbuf :: Added (See http://spf.pobox.com/why.html?sender=) to
node of len: 42)
MACRO_expand :: Freeing s_macro temp buf (See
http://spf.pobox.com/why.html?sender=)
UTIL_free :: Free address 0x804b748 by MACRO_expand on line 224
(macro.c)
MACRO_expand :: Remaining buffer (%{S}&ip=%{I}&receiver=%{xR})
MACRO_expand :: MACRO starting key ({)
MACRO_expand :: Macro piece #2: ({)
MACRO_expand :: Macro piece #2: (S)
UTIL_index :: Found search char: (}); Returning: (1)
MACRO_expand :: Actual macro (S)
MACRO_process :: called with (S) and len: 2
MACRO_process :: 's' expands to: (partners(_at_)userfriendly(_dot_)net)
UTIL_strndup :: Allocated 27 bytes of memory.
UTIL_strndup :: Returning string: (partners(_at_)userfriendly(_dot_)net)
MACRO_expand :: Macro expanded to: (partners(_at_)userfriendly(_dot_)net) 25 
bytes
MACRO_addbuf :: Called with (partners(_at_)userfriendly(_dot_)net) 25 (25) 
bytes.
MACRO_addbuf :: Added (partners(_at_)userfriendly(_dot_)net) to node of len: 25)
UTIL_free :: Free address 0x804c8f0 by MACRO_expand on line 168
(macro.c)
MACRO_expand :: Remaining buffer (&ip=%{I}&receiver=%{xR})
UTIL_index :: Found search char: (%); Returning: (4)
MACRO_addbuf :: Called with (&ip=) 5 (4) bytes.
MACRO_addbuf :: Added (&ip=) to node of len: 5)
MACRO_expand :: Freeing s_macro temp buf (&ip=)
UTIL_free :: Free address 0x804b7c8 by MACRO_expand on line 224
(macro.c)
MACRO_expand :: Remaining buffer (%{I}&receiver=%{xR})
MACRO_expand :: MACRO starting key ({)
MACRO_expand :: Macro piece #2: ({)
MACRO_expand :: Macro piece #2: (I)
UTIL_index :: Found search char: (}); Returning: (1)
MACRO_expand :: Actual macro (I)
MACRO_process :: called with (I) and len: 2
MACRO_process :: 'i' expands to: (218.38.114.41)
UTIL_strndup :: Allocated 14 bytes of memory.
UTIL_strndup :: Returning string: (218.38.114.41)
MACRO_expand :: Macro expanded to: (218.38.114.41) 13 bytes
MACRO_addbuf :: Called with (218.38.114.41) 13 (13) bytes.
MACRO_addbuf :: Added (218.38.114.41) to node of len: 13)
UTIL_free :: Free address 0x804b8e8 by MACRO_expand on line 168
(macro.c)
MACRO_expand :: Remaining buffer (&receiver=%{xR})
UTIL_index :: Found search char: (%); Returning: (10)
MACRO_addbuf :: Called with (&receiver=) 11 (10) bytes.
MACRO_addbuf :: Added (&receiver=) to node of len: 11)
MACRO_expand :: Freeing s_macro temp buf (&receiver=)
UTIL_free :: Free address 0x804b7f8 by MACRO_expand on line 224
(macro.c)
MACRO_expand :: Remaining buffer (%{xR})
MACRO_expand :: MACRO starting key ({)
MACRO_expand :: Macro piece #2: ({)
MACRO_expand :: Macro piece #2: (x)
UTIL_index :: Found search char: (}); Returning: (2)
MACRO_expand :: Actual macro (xR)
MACRO_process :: called with (xR) and len: 3
UTIL_strndup :: Allocated 9 bytes of memory.
UTIL_strndup :: Returning string: (spfquery)
MACRO_expand :: Macro expanded to: (spfquery) 8 bytes
MACRO_addbuf :: Called with (spfquery) 8 (8) bytes.
MACRO_addbuf :: Added (spfquery) to node of len: 8)
UTIL_free :: Free address 0x804b488 by MACRO_expand on line 168
(macro.c)
MACRO_expand :: Remaining buffer ()
MACRO_expand :: Allocated 101 bytes for return buf
MACRO_expand :: NODE: (See http://spf.pobox.com/why.html?sender=) LEN:
42
UTIL_free :: Free address 0x804b788 by MACRO_expand on line 249
(macro.c)
UTIL_free :: Free address 0x804b778 by MACRO_expand on line 251
(macro.c)
MACRO_expand :: NODE: (partners(_at_)userfriendly(_dot_)net) LEN: 25
UTIL_free :: Free address 0x804b848 by MACRO_expand on line 249
(macro.c)
UTIL_free :: Free address 0x804b7b8 by MACRO_expand on line 251
(macro.c)
MACRO_expand :: NODE: (&ip=) LEN: 5
UTIL_free :: Free address 0x804b7e8 by MACRO_expand on line 249
(macro.c)
UTIL_free :: Free address 0x804b7d8 by MACRO_expand on line 251
(macro.c)
MACRO_expand :: NODE: (218.38.114.41) LEN: 13
UTIL_free :: Free address 0x804b830 by MACRO_expand on line 249
(macro.c)
UTIL_free :: Free address 0x804b7c8 by MACRO_expand on line 251
(macro.c)
MACRO_expand :: NODE: (&receiver=) LEN: 11
UTIL_free :: Free address 0x804b478 by MACRO_expand on line 249
(macro.c)
UTIL_free :: Free address 0x804b468 by MACRO_expand on line 251
(macro.c)
MACRO_expand :: NODE: (spfquery) LEN: 8
UTIL_free :: Free address 0x804b4a8 by MACRO_expand on line 249
(macro.c)
UTIL_free :: Free address 0x804b498 by MACRO_expand on line 251
(macro.c)
UTIL_free :: Free address 0x804b6f8 by MACRO_expand on line 254
(macro.c)
UTIL_free :: Free address 0x804b810 by MACRO_expand on line 255
(macro.c)
MACRO_expand :: Returning expanded macro: (See
http://spf.pobox.com/why(_dot_)html?sender=partners(_at_)userfriendly(_dot_)net&ip=218.38.114.41&receiver=spfquery)
SPF_policy_main_rec :: (QID: 0) :: Return policy 3 on mech: (-all) with
outcome: (fail)
fail
policy result: (fail) from rule (-all)
See
http://spf.pobox.com/why(_dot_)html?sender=partners(_at_)userfriendly(_dot_)net&ip=218.38.114.41&receiver=spfquery
UTIL_free :: Free address 0x804b378 by SPF_close on line 227 (main.c)
UTIL_free :: Free address 0x804b3d0 by SPF_close on line 228 (main.c)
UTIL_free :: Free address 0x804b3b0 by SPF_close on line 229 (main.c)
UTIL_free :: Free address 0x804b3e0 by SPF_close on line 230 (main.c)
UTIL_free :: Free address 0x804b388 by SPF_close on line 231 (main.c)
UTIL_free :: Unable to free() on NULL pointer at main.c:232 in
SPF_close; address 0x0.
UTIL_free :: Free address 0x804bed8 by SPF_close on line 233 (main.c)
UTIL_free :: Free address 0x804b348 by SPF_close on line 234 (main.c)
UTIL_free :: Free address 0x804b328 by SPF_close on line 235 (main.c)
UTIL_free :: Free address 0x804b4b8 by SPF_close on line 236 (main.c)
UTIL_free :: Free address 0x804b3a0 by SPF_close on line 237 (main.c)
UTIL_free :: Free address 0x804b050 by SPF_close on line 239 (main.c)

Cheers,

James

-- 
James Couzens,
Programmer
-----------------------------------------------------------------
XML is WRONG, and here it doesn't BELONG.
Neither in SPF, nor inside of DNS,
its fat and its bloated and so I express:
JSON - "The FAT FREE alternative to XML"
http://www.crockford.com/JSON/xml.html
-----------------------------------------------------------------
http://libspf.org -- ANSI C Sender Policy Framework library
http://libsrs.org -- ANSI C Sender Rewriting Scheme library
-----------------------------------------------------------------
PGP: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBD3BF855

-------
Sender Policy Framework: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Send us money!  http://spf.pobox.com/donations.html
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com

Attachment: signature.asc
Description: This is a digitally signed message part