utility allows you to manage spam filter. Using this utility, you can:Spamassassin.exe
is located in Spamassassin.exe %plesk_dir%admin\bin\. Available commands and options are listed in tables below.
Usage: spamassassin.exe command <mail_name> [options]
Example of usage:
spamassassin.exe --update JohnDoe@domain1.com -server-conf true -hits 6 -action del -blacklist add:spammer@spamdomain.com
Available commands:
Command |
Parameter |
Action |
Example |
|
<mail_name> |
updates the spam filter configuration for an existing mail user |
Examples of updating various spam filter parameters are provided further down this table |
|
<mail_name> |
retrieves spam filter settings for the specified mailname |
To retrieve spam filter settings for
|
|
|
displays help on the utility usage |
To see help information about spamassassin.exe --help |
Available options:
Option |
Parameter |
Note |
Example |
|
<true|false> |
uses server wide settings |
To use server wide settings:
|
|
<float> |
hits required for marking a letter as a spam |
To set the number of hits required to mark letter as a spam to 3:
|
|
<del|mark> |
what should be done with a spam mail |
To set Spam Assassin to delete spam e-mails:
|
|
<true|false> |
modifies the subject of a spam mail |
To modify spam mail subject
|
|
<string> |
modifies the text of a spam mail subject |
To modify spam mail subject
|
|
<add|del>:<pattern1[,pattern2]> |
adds or deletes the e-mail(s) to/from the black list |
To add
|
|
<add|del>:<pattern1[,pattern2]> |
adds or deletes the e-mail(s) to/from the white list |
To add
|