Article ID: 5640, created on Oct 22, 2008, last review on Jun 16, 2016

  • Applies to:
  • Plesk

Symptoms

Unable to add more than 100 email addresses to SpamAssassin White List or Black List through Plesk interface:

Home > Tools & Settings > Spam Filter Settings

or

Home > Subscriptions > <domain.tld> > Mail > Email Addresses > <email@domain.tld> > Spam Filter (this tab will be available if SpamAssassin is installed).

After 100 addresses are added, the following notification is received:

Error: Only %available%% unique email addresses can be added.

or

Warning: Only 100 first unique e-mail addresses will be added.

Cause

Plesk has a default limit on the number of email 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 significantly reduce server performance.

Resolution

  1. For Plesk 11.0 and earlier, use the following SQL query to set the maximum number of addresses to 150:

    #  MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -e "replace into misc values('spamfilter_max_addr_list_length', 150);"
    
  2. Since Plesk 11.5 some configuration settings were moved from the misc table. To increase the limit on the number of email addresses in SpamAssassin white/black lists use the following SQL query:

    #  MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin psa -e "replace into ServiceNodeConfiguration values (1, 'mailServer', 'spamfilter_max_addr_list_length', 150);"
    

More information about SpamAssassin can be found in Plesk Administrator's Guide.

Search Words

Error: Only %available%% unique email addresses can be added

Warning: Only 100 first unique e-mail addresses will be added

black list

Unable to add more than 100 email addresses

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF