Spam Checking: Difference between revisions
Appearance
Content deleted Content added
mNo edit summary |
Interaction between Spam checking and Sieve filtering |
||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 15: | Line 15: | ||
*Rspamd. |
*Rspamd. |
||
Both of these will assign a 'spam score' to the message. We will then use the |
Both of these will assign a 'spam score' to the message. We will then use the higher score to classify a message as spam or not. |
||
===Spam score options=== |
===Spam score options=== |
||
Once a message has been processed by the spam engines the message will then be subject to one of three options: |
Once a message has been processed by the spam engines the message will then be subject to one of three options: |
||
* Non-spam - accept |
* Non-spam - accept |
||
* Medium-scoring Spam - accept, but marked with ***SPAM |
* Medium-scoring Spam - accept, but marked with ****SPAM:<score>**** to the subject, and saved to the spam folder (unless the mailbox is using Sieve filtering) |
||
* High=scoring spam - rejected |
* High=scoring spam - rejected if possible, otherwise handled as per medium-scoring Spam |
||
The score at which a messages is marked as spam or rejected can be set on the Control Pages on a per-Mailbox or per-Domain basis. The default score to mark as spam is 5, and to reject is 20. |
The score at which a messages is marked as spam or rejected can be set on the Control Pages on a per-Mailbox or per-Domain basis. The default score to mark as spam is 5, and to reject is 20. |
||
| Line 27: | Line 27: | ||
==Headers== |
==Headers== |
||
We add various extra headers to email regarding the Spamassassin and Rspamd scores and reports. |
We add various extra headers to email regarding the Spamassassin and Rspamd scores and reports. |
||
Here are some examples: |
|||
{| class="wikitable" |
{| class="wikitable" |
||
| Line 38: | Line 40: | ||
| 2.1 |
| 2.1 |
||
|- |
|- |
||
| X-Spam-Rspamd-Score |
| X-AA-Spam-Rspamd-Score |
||
| The spam score from Rspamd |
| The spam score from Rspamd |
||
| 2.1 |
| 2.1 |
||
|- |
|- |
||
| X-Spamassassin-Score |
| X-AA-Spamassassin-Score |
||
| The spam score from Spamassassin |
| The spam score from Spamassassin |
||
| 2.0 |
| 2.0 |
||
| Line 49: | Line 51: | ||
| Which spam checking engine we used to classify this message |
| Which spam checking engine we used to classify this message |
||
| Rspamd or Spamassassin |
| Rspamd or Spamassassin |
||
| |
|- |
||
| X-Spam-Score-Int |
| X-Spam-Score-Int |
||
| The spam score as an integer |
| The spam score multiplied by ten, as an integer value |
||
| 21 |
| 21 |
||
|- |
|- |
||
| X-Spam-Bar |
| X-Spam-Bar |
||
| The spam score represented by +'s. One for each point |
| The spam score represented by +'s. One for each point. Negative scores represented by -'s. Very small scores by /. |
||
| ++ |
| ++ |
||
|- |
|||
| X-Spam-Flag |
|||
| Whether the message is classed as spam or not |
|||
| YES or NO |
|||
|- |
|- |
||
| X-Spam-Report |
| X-Spam-Report |
||