network/amavisd-new: Added DKIM patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Nishant Limbachia 2019-03-13 07:35:42 +07:00 committed by Willy Sudiarto Raharjo
parent f1372af0ef
commit 02de470e08
No known key found for this signature in database
GPG key ID: 887B8374D7333381
4 changed files with 26 additions and 3 deletions

View 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

View file

@ -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)

View 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

View file

@ -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