aboutsummaryrefslogtreecommitdiff
path: root/network/amavisd-new/patches
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2019-03-13 07:35:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-03-16 06:53:21 +0700
commit02de470e08129ca4aa229b5839ef9de58d2aca9f (patch)
treeead3abf72410ea23c8f995d97638ce771ff2f9f5 /network/amavisd-new/patches
parentf1372af0ef05be43dfb0c27dc4273c7f680d12bc (diff)
network/amavisd-new: Added DKIM patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/amavisd-new/patches')
-rw-r--r--network/amavisd-new/patches/outbound_dkim_signing_fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/network/amavisd-new/patches/outbound_dkim_signing_fix.patch b/network/amavisd-new/patches/outbound_dkim_signing_fix.patch
new file mode 100644
index 0000000000000..77c991fb314b9
--- /dev/null
+++ b/network/amavisd-new/patches/outbound_dkim_signing_fix.patch
@@ -0,0 +1,18 @@
+--- amavisd 2018-10-09 07:41:10.000000000 -0500
++++ amavisd.new 2019-03-12 11:20:03.926164315 -0500
+@@ -22814,6 +22814,7 @@
+ }
+ # load policy banks from the 'client_ipaddr_policy' lookup
+ Amavis::load_policy_bank($_,$msginfo) for @bank_names_cl;
++ $msginfo->originating(c('originating'));
+
+ $msginfo->client_addr($cl_ip); # ADDR
+ $msginfo->client_port($cl_port); # PORT
+@@ -34357,6 +34358,7 @@
+ $sig_ind++;
+ }
+ Amavis::load_policy_bank($_,$msginfo) for @bank_names;
++ $msginfo->originating(c('originating'));
+ $msginfo->dkim_signatures_valid(\@signatures_valid) if @signatures_valid;
+ # if (ll(5) && $sig_ind > 0) {
+ # # show which header fields are covered by which signature