spf-discuss
[Top] [All Lists]

Re: implementation question

2004-01-13 16:08:53
On Tue, Jan 13, 2004 at 03:01:47PM -0800, Justin Mason wrote:
| 
| BTW does Mail::SPF::Query support a way to differentiate between the
| second and third return types?
| 

Yes, version 1.97 will do:

   my ($result, $smtp_comment, $header_comment, $spf_record) = $query->result();

   if ($result eq "unknown" and not $spf_record) { # record does not exist }
   if ($result eq "unknown" and     $spf_record) { # record does exist, 
resolution = unknown }

-------
Sender Permitted From: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Latest draft at http://spf.pobox.com/draft-mengwong-spf-02.9.4.txt
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname(_at_)©#«Mo\¯HÝÜîU;±¤Ö¤Íµø?¡