diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-09-21 16:06:02 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-09-21 16:16:49 +0300 |
commit | 5b7a7340a7ebe9bb52bd3d5fc37dacd6e910db3a (patch) | |
tree | 7504a3265c99ae719d6a821ce7a57571c3818dfd /main/policyd-spf-fs/policyd-spf-fs-localpolicy-fix.patch | |
parent | 6a6e29b745233deb108bc324e34f0497053bffc6 (diff) | |
download | aports-5b7a7340a7ebe9bb52bd3d5fc37dacd6e910db3a.tar.bz2 aports-5b7a7340a7ebe9bb52bd3d5fc37dacd6e910db3a.tar.xz |
main/policyd-spf-fs: new aport
a libspf2 based policy daemon for postfix.
Diffstat (limited to 'main/policyd-spf-fs/policyd-spf-fs-localpolicy-fix.patch')
-rw-r--r-- | main/policyd-spf-fs/policyd-spf-fs-localpolicy-fix.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/policyd-spf-fs/policyd-spf-fs-localpolicy-fix.patch b/main/policyd-spf-fs/policyd-spf-fs-localpolicy-fix.patch new file mode 100644 index 000000000..4d4d4bef5 --- /dev/null +++ b/main/policyd-spf-fs/policyd-spf-fs-localpolicy-fix.patch @@ -0,0 +1,10 @@ +--- policyd-spf-fs_23/policyd-spf-fs.c Tue Sep 11 06:57:55 2007 ++++ policyd-spf-fs-23.patched/policyd-spf-fs.c Mon Sep 21 12:09:33 2009 +@@ -624,6 +624,7 @@ + FREE_RESPONSE(spf_response); + + spf_request = SPF_request_new(spf_server); ++ spf_request->use_local_policy = 1; + + if (SPF_request_set_ipv4_str(spf_request, req->ip) && SPF_request_set_ipv6_str(spf_request, req->ip)) { + syslog(LOG_WARNING, "Invalid IP address.\n" ); |