Wolfgang Breyha | 1 Jun 17:46
Picon

[Patch] fix unset received-spf header and return codes

Hi!

The attached patch fixes two things in libspf2 1.2.9

*) if spf results to NONE or anything else without SPF record
   no received_header and comment was set

*) if DNS fails either temporary or permanent the result was (invalid).
   It returns TEMPERROR and PERMERROR now.

Greetings, Wolfgang
--

-- 
Wolfgang Breyha <wbreyha <at> gmx.net> | http://www.blafasel.at/
Vienna University Computer Center | Austria

-------------------------------------------
Sender Policy Framework: http://www.openspf.org [http://www.openspf.org]
Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/]

Archives: https://www.listbox.com/member/archive/1007/=now
RSS Feed: https://www.listbox.com/member/archive/rss/1007/6959932-f3d1312d
Modify Your Subscription: https://www.listbox.com/member/?member_id=6959932&id_secret=6959932-d95100fc
Unsubscribe Now: https://www.listbox.com/unsubscribe/?member_id=6959932&id_secret=6959932-4aedb9c4&post_id=20110601114626:8995D932-8C66-11E0-93B4-DD67F559ED1D
Powered by Listbox: http://www.listbox.com
diff --git a/src/libspf2/spf_request.c b/src/libspf2/spf_request.c
index 7614141..b502fb2 100644
--- a/src/libspf2/spf_request.c
+++ b/src/libspf2/spf_request.c
(Continue reading)

Wolfgang Breyha | 1 Jun 17:52
Picon

Re: [Patch] fix unset received-spf header and return codes

Hi again!

Sorry. I attached the wrong patch.

This is the right one now.

Greetings, Wolfgang

Wolfgang Breyha wrote, on 01.06.2011 17:46:
> Hi!
> 
> The attached patch fixes two things in libspf2 1.2.9
> 
> *) if spf results to NONE or anything else without SPF record
>    no received_header and comment was set
> 
> *) if DNS fails either temporary or permanent the result was (invalid).
>    It returns TEMPERROR and PERMERROR now.
> 
> Greetings, Wolfgang

--

-- 
Wolfgang Breyha <wbreyha <at> gmx.net> | http://www.blafasel.at/
Vienna University Computer Center | Austria

-------------------------------------------
Sender Policy Framework: http://www.openspf.org [http://www.openspf.org]
Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/]

Archives: https://www.listbox.com/member/archive/1007/=now
(Continue reading)


Gmane