Agus Priyadi and Mafia.Or.ID

blog all about (brains colocations)

Spam Filtering: spamassassin Utility

Posted by mafiaid on 21 August 2007

The spamassassin utility is used to manage the Spamassassin spam filter through CLI. By using this utility, you can perform the following tasks:

Enabling or disabling server-wide spam filtering
Setting the criteria for automatic labeling of incoming messages as spam
Enabling or disabling use of mail-name specific spam filtering criteria
Adding e-mail messages to the Spamassassin’s black and white lists
Mark e-mail subjects as spam
Deleting spam automatically
Inserting custom text into spam message subject lines automatically

Example

The following command line enables Spamassassin filter on mail name admin@example.com, enable the use of mail name-specific Spamassassin filter settings, set the minimum score of 3 for marking e-mail messages as spam and enables deleting spam messages automatically from the mail box:

# ./spamassassin –update admin@example.com -status true -personal-conf true -reject-spam true -hits 3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: