The spamassassin.exe
utility serves to manage spam filtering on the
mail-account level. The utility allows the following operations:
- enabling the use of server-wide spam filtering settings
- setting the number of hits required to mark a letter as spam
- adding mail addresses to black and white lists
- marking mail subject as spam, deleting spam messages
Location
%plesk_cli%
Usage
spamassassin.exe <command> [<email>] [
<option 1> <param 1>[,<param 2>,...,<param n>]
[<option 2> <param 1>[,<param 2>,...,<param n>]]
... [<option N> <param 1>[,<param 2>,...,<param n>]]
]
Example
The following command modifies the SpamAssassin configuration on
[email protected] to using server-wide settings, sets the number of
hits sufficient to consider a letter as spam to 6, orders to delete
spam, and puts the [email protected] email address to the black list.
plesk bin spamassassin.exe --update [email protected] -server-conf true -hits 6 -action del -blacklist add:[email protected]
Commands
Command | Parameter | Description | Example |
---|---|---|---|
--update or -u
|
<email> |
Updates the spam filter configuration for an existing email account. |
Updates spam filter settings for [email protected]: plesk bin spamassassin.exe --update [email protected] -hits 3 -action del -blacklist add:[email protected] or plesk bin spamassassin.exe -u [email protected] -hits 3 -action del -blacklist add:[email protected] … |