PLESK COMMAND LINE INTERFACE

Section 3.3.3 Managing SpamAssassin

3.3.3.1 Purpose

The spamassassin.sh utility is used for setting various parameters for the spam filter, and for processing incoming mail for Plesk mailnames.

3.3.3.2 Usage

Usage: spamassassinsh command <mail_name> [options]

Available commands and options:

Command Parameter Action
--update or -u <mail_name> updates the spam filter configuration for an existing mail user
--info or -i <mail_name> retrieves spam filter settings for the specified mailname
--help or -h   displays help on the utility usage
Option Parameter Note
-server-conf <true|false> uses server wide settings
-hits <float> hits required for marking a letter as a spam
-action <del|mark> what should be done with a spam mail
-modify-subj <true|false> modifies the subject of a spam mail
-modify-subj-text <string> modifies the text of a spam mail subject
-blacklist <add|del>:<pattern1[,pattern2]> adds or deletes the e-mail(s) to/from the black list
-whitelist <add|del>:<pattern1[,pattern2]> adds or deletes the e-mail(s) to/from the white list

to top