spf-discuss
[Top] [All Lists]

RE: implementation question

2004-01-14 01:47:45
-----Original Message-----
From: Meng Weng Wong [mailto:mengwong(_at_)dumbo(_dot_)pobox(_dot_)com]
Sent: Wednesday, January 14, 2004 00:09
To: spf-discuss(_at_)v2(_dot_)listbox(_dot_)com
Subject: Re: [spf-discuss] implementation question


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 }

Sorry to bring this up again but why not simply return "none" as the result if 
no Spf record exists?

Dirk

-------
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_)½§ÅvÂ¼ð¦¾Øß´ëù1Ií-»Fqx(_dot_)com


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