Skip to content

Commit ca9f5ab

Browse files
author
Marius Burkard
committed
- adjusted amavis config for gentoo, fixes #4925
1 parent 0fd1cec commit ca9f5ab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

install/dist/tpl/gentoo/amavisd-ispconfig.conf.master

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $sql_select_policy =
5555

5656

5757
$sql_select_white_black_list = 'SELECT wb FROM spamfilter_wblist'.
58-
' WHERE (spamfilter_wblist.rid=?) AND (spamfilter_wblist.email IN (%k))' .
58+
' WHERE (spamfilter_wblist.rid=?) AND (spamfilter_wblist.email IN (%k)) AND (spamfilter_wblist.active="y")' .
5959
' ORDER BY spamfilter_wblist.priority DESC';
6060

6161
#
@@ -112,9 +112,10 @@ $policy_bank{'ORIGINATING'} = {
112112
# Allow SMTP access from IPs in @inet_acl to amvisd SMTP Port
113113
@inet_acl = qw( 127.0.0.1 [::1] 192.168.0.0/16 );
114114

115-
$signed_header_fields{'received'} = 0; # turn off signing of Received
115+
# DKIM
116116
$enable_dkim_verification = 1;
117-
$enable_dkim_signing = 1;
117+
$enable_dkim_signing = 1; # load DKIM signing code
118+
$signed_header_fields{'received'} = 0; # turn off signing of Received
118119
@dkim_signature_options_bysender_maps = (
119120
{ '.' => { ttl => 21*24*3600, c => 'relaxed/simple' } } );
120121

0 commit comments

Comments
 (0)