spamassassin.exe is used to manage spam filtering on the mail- account level. It is a utility server that enables the use of server-side spam filtering settings, adds mail addresses to black and whitelists, and also sets the number of hits required to mark a letter as spam.

Example:

The following command line modifies the SpamAssassin configuration on test@domain.com to use server-wide settings and sets the number of hits sufficient to consider a letter as spam to 6, orders to delete spam, and puts the contact@domain.com email address to the blacklist.

spamassassin.exe --update test@domain.com -server-conf true -hits 6 -action del -blacklist add:contact@domain.com

Commands:

--update or -u  is used to update the spam filter configuration for an existing email user.
--info or - i  is used in retrieving the spam filter settings for the specified email account.
--help or -h is used to display help on the use of this utility.

Options:

-server-conf option with the parameter true|false is used to apply the server- side settings.

-hits option with the parameter <float> specifies the number of hits that are enough to consider a letter a spam.

-action option with parameter del|mark specifies the actions to perform against spam emails.

-enable filtering option with the parameter true|false is used to enable/disable spam filtering using Spamassassin.

Categorized in:

Tagged in:

, ,