SymptomsI 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:
Warning: Only 100 first unique e-mail addresses will be added.
ResolutionAs of Plesk Control Panel version 8.4.0, you may configure the maximum number of addresses that can be added to the Spamassassin White or Black list through the Control Panel.
Per the variable psa.misc.spamfilter_max_addr_list_length in the Plesk database, 100 addresses are used by default.
Use the following SQL query to set the maximum number of addresses to 150:
mysql> replace into misc values('spamfilter_max_addr_list_length',150);
Query OK, 1 row affected (0.00 sec)
If a row with the spamfilter_max_addr_list_length parameter is absent in the misc table, it is possible to add the row with the following query:
mysql> insert into misc (param,val) values ('spamfilter_max_addr_list_length',150);
NOTE: A large number of addresses in the Spamassassin White/Black list may reduce server performance significantly.
Additional InformationThe following command can be used to connect to the Plesk database:
~# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa