Skip to content

Commit 2a37f92

Browse files
author
Till Brehm
committed
Fixed issue #3829 BlackList and WhiteList do not take into account the active attribute
1 parent ef6e5d7 commit 2a37f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/tpl/amavisd_user_config.master

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $sql_select_policy =
3737

3838

3939
$sql_select_white_black_list = 'SELECT wb FROM spamfilter_wblist'.
40-
' WHERE (spamfilter_wblist.rid=?) AND (spamfilter_wblist.email IN (%k))' .
40+
' WHERE (spamfilter_wblist.rid=?) AND (spamfilter_wblist.email IN (%k)) AND (spamfilter_wblist.active="y")' .
4141
' ORDER BY spamfilter_wblist.priority DESC';
4242

4343
#

0 commit comments

Comments
 (0)