Amavis and Ldap

Although UGCS spam filtering blocks many spam messages (over 50,000 a day!), an email has to have a pretty high "spam score" before we drop it. If you want some tighter filtering, you can set your own settings using LDAP using ldapedit.

You can use the ldapedit utility to change your SpamAssassin settings. The most common settings are:

Spam scores are numbers- although they can technically have any value, most email is between -20 and +20. By default, UGCS drops spam with a score higher than 6.0 If you want to know the score of some of the mail in your inbox for reference, look for the "X-Spam-Score" header. As a side note, I've never seen legitimate mail with a spam score greater than 1.0

Examples

ldapedit -m amavisSpamTag2Level 0.0 -m amavisSpamKillLevel 4.0