View Single Post
Old 10th January 2012, 11:54
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts

Checked it on my servers here and amavis selects the correct policy (mailbox has precedence before domain rule). I verified this also in the amavis config file where the order is set correctly in the sql querys:

$sql_select_policy =
   'SELECT *,'.
   ' FROM spamfilter_users LEFT JOIN spamfilter_policy ON'.
   ' WHERE IN (%k) ORDER BY spamfilter_users.priority DESC';

$sql_select_white_black_list = 'SELECT wb FROM spamfilter_wblist'.
    ' WHERE (spamfilter_wblist.rid=?) AND ( IN (%k))' .
    ' ORDER BY spamfilter_wblist.priority DESC';
Maybe you use a modified amavis configuration file on your system and not the one that is delivered with ISPconfig?
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote