aboutsummaryrefslogtreecommitdiffstats
path: root/main/policyd-spf-fs/policyd-spf-fs-localpolicy-fix.patch
diff options
context:
space:
mode:
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.patch10
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 0000000000..4d4d4bef5e
--- /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" );