|
Xamime Rules for Spam handling |
|
|
|
Xamime invokes Spamassassin as a prefilter.
Spamassassin tags messages as they pass through, adding headers into the email.
Then we use an Xamime ACL and set of rules to catch messages that have been tagged.
In general it is best to use the header "X-Spam-Level" to catch spam because it uses a series of "***" to classify the spam score. Thus you can create different actions for messages tagged with different spam scores.
Below you will find an example of a Spam Rule to catch messages in xamime.
You setup a "Text based" test looking for...
^X-Spam-Level: \*{10,}
The carat means "ensure this is at the beginning of a line", the "*" is escaped by the "\" which means treat it as a literal *, not a special character, and the {10,} means look for 10 "*"'s.

|