spf-discuss
[Top] [All Lists]

TXT lookup problem

2004-11-19 08:35:46
The SPF record for pobox.com is giving me trouble.  It comes in two
pieces:

pobox.com text "v=spf1 mx mx:fallback-relay.%{d} a:webmail.%{d} a:smtp.%{d} 
a:discards.%{d} mx:store.discard.%{d} a:emerald.%{d} redirect=%{l1r" 
"+}._at_.%{o}._spf.%{d}"

Ok, my DNS library give me a list of TXT records.  I currently 
go through the list looking for exactly 1 record that begins with
"v=spf1".  Now it appears that I must glue these two pieces together.
But how do I know when to stop gluing?  If pobox.com also published
a record beginning with "spf2.0", then it would get glued to the
end of the v=spf1 record.  Sure, I could check for particular
headers, but how could I know the complete list?  Also, I thought
that the order of TXT record returned from a query was not guarranteed?

So, is my DNS library broken?  Or is the pobox.com SPF record broken?
Or am I missing something?

-- 
              Stuart D. Gathman <stuart(_at_)bmsi(_dot_)com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flamis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.


<Prev in Thread] Current Thread [Next in Thread>