mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/amavisd-new: Added DKIM patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f1372af0ef
commit
02de470e08
4 changed files with 26 additions and 3 deletions
5
network/amavisd-new/README.patches
Normal file
5
network/amavisd-new/README.patches
Normal file
|
@ -0,0 +1,5 @@
|
|||
README.patches
|
||||
|
||||
3/12/2019 - Applied DKIM outbound signing patch mentioned here:
|
||||
https://gitlab.com/amavis/amavis/merge_requests/1
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
# Slackware Package Build Script for amavisd-new
|
||||
# Home Page http://www.ijs.si/software/amavisd/
|
||||
|
||||
# Copyright (c) 2009-2018, Nishant Limbachia, Hoffman Estates, IL, USA
|
||||
# Copyright (c) 2009-2019, Nishant Limbachia, Hoffman Estates, IL, USA
|
||||
# (nishant _AT_ mnspace _DOT_ net)
|
||||
# All rights reserved.
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
PRGNAM="amavisd-new"
|
||||
VERSION=${VERSION:-2.11.1}
|
||||
ARCH="noarch"
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
|
|
18
network/amavisd-new/patches/outbound_dkim_signing_fix.patch
Normal file
18
network/amavisd-new/patches/outbound_dkim_signing_fix.patch
Normal file
|
@ -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
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Startup script for amavisd-new daemon for use on Slackware Linux x86|x86_64
|
||||
|
||||
# Copyright (c) 2008-2018, Nishant Limbachia, Hoffman Estates, IL, USA
|
||||
# Copyright (c) 2008-2019, Nishant Limbachia, Hoffman Estates, IL, USA
|
||||
# (nishant _AT_ mnspace _DOT_ net)
|
||||
# Usage: /etc/rc.d/rc.amavisd-new start|stop|restart|reload|status
|
||||
# For automatic startup at boot, call this script from rc.local
|
||||
|
|
Loading…
Reference in a new issue