Configuring SpamAssassin
The SpamAssassin configuration is stored in the spamfilter and
spamfilter_preferences tables of the psa database. You can manage it
with the %plesk_dir%admin\bin\spammng.exe
utility. It displays help
if started without any options.
Server-wide SpamAssassin settings are stored in the following files:
The
%plesk_dir%Additional\Perl\site\var\spamassassin\3.003001\updates_spamassassin_org\*.cf
files contain configuration details, e.g. White list and Black list
scores are assigned in the 50_scores.cf
configuration file.
- The
%plesk_dir%Additional\Perl\site\etc\mail\spamassassin\local.cf
stores server-wide filter settings.
Personal user settings are stored in the file
%plesk_dir%Additional\SpamAssassin\SpamFilterUserConfigsPath\<mailname>\user_prefs
.
For more information about the SpamAssassin configuration, refer to the respective documentation at http://spamassassin.apache.org/doc/Mail_SpamAssassin_Conf.html.
To apply changes in the configuration files, you should restart SpamAssassin with the following command:
for /F "usebackq tokens=5" %i in (`cmd /c "netstat -aon | findstr 0.0.0.0:8783"`) do taskkill /F /PID %i