I cannot add more then 100 addresses to the Spamassassin White/Black list through the Plesk Control Panel. After 100 addresses are added, I receive the following notification:
Error: Only %available%% unique email addresses can be added.
Warning: Only 100 first unique e-mail addresses will be added.
Plesk has default limit on the number of e-mail addresses that can be added into SpamAssassin black/white lists. This is because a large number of addresses in the Spamassassin white/black list may reduce server performance significantly.
For Plesk 11.0 and earlier, use the following SQL query to set the maximum number of addresses to 150:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -e "replace into misc values('spamfilter_max_addr_list_length', 150);"
Since Plesk 11.5 version some configuration settings were moved from table
misc. To increase limit on the number of e-mail addresses in SpamAssassin white/black lists, use the following SQL query:
# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -e "replace into ServiceNodeConfiguration values (1, 'mailServer', 'spamfilter_max_addr_list_length', 150);"