To keep an overview of your e-mails despite the flood of advertising messages, you can let the spam scanner automatically scan incoming messages for the typical characteristics of spam. In this article, you will learn how the spam scanner works and how you can configure it.
How does the spam scanner work?
In order to assess the possibilities and limitations of the spam scanner, it is useful to get to know its working method.
The spam scanner is a piece of software. This fact immediately reminds to the most important point that we must always keep in mind: Software is only as good as the idea behind it. This is especially important for such difficult tasks as the interpretation of arbitrary contents of e-mails.
The rules and their weighting are such that errors are only expressed as unrecognized spam mails (“false negatives”). Nevertheless, in rare cases it can happen that “good” mails (also called “ham”) are incorrectly classified as spam. In this context, one also speaks of “false positives”.
An e-mail message is scanned according to various rules. For each test that is positive, the message receives a certain number of points, which are then cumulated. If the number of points exceeds a certain critical number after all tests have been completed, the message is classified as spam.
Examples of such spam tests are:
- Does the subject of the e-mail consist only of capital letters?
- Does the e-mail have no message text but only an image attached?
- Are there known spam URLs in the body of the message?
- Are parts of the e-mail header obviously forged?
If only one or two tests are positive, the message usually does not get the necessary score to be recognized as spam. This prevents, for example an inadvertently chosen subject consisting only of capital letters from turning the message into spam.
Change the spam scanner configuration
We use the open source solution SpamAssassin for our spam scanner. This offers a wide range of configuration options. You can set several of these yourself in the Hostpoint Control Panel.
To do so, proceed as follows:
- Log in to the Hostpoint Control Panel with your Hostpoint ID.
- Open “E-mail & Cloud Office”.
- Click on “Edit” for the desired e-mail address.
- Select the menu item “Spam scanner” to adjust the settings of your spam scanner.
- Make the desired adjustments. Below you will find a description of the individual configuration options.
- If the “Access to e-mail settings in Cloud Office” option is enabled, you can also change the settings directly in Cloud Office.
Threshold value for spam points (required_score)
You can set the threshold above which the message will be classified as spam.
The deeper you choose it, the more sensitive the spam scanner becomes. However, this also increases the risk that real mails are recognized as spam.
On the other hand, if you increase the threshold value, the risk of false positives decreases, as does the detection rate of real spam mails.
Marking of messages in subject (rewrite_header subject)
If a message has been detected as spam, you can mark it in the subject line. This will precede the existing subject with the string you specified.
You can also use the following keywords in addition:
_HITS_ | Will be replaced by the number of achieved spam points |
_REQD_ | Will be replaced by the currently set threshold value |
Define sender addresses as spam
If you frequently receive unwanted (advertising) mails from certain addresses, but these are not recognized by the spam scanner, you can add the sender to your own list of blocked senders.
You can either enter complete e-mail addresses or use the wildcards * and ?:
abuser@example.com | All e-mails from sender “abuser@example.com” are treated as spam. |
*@example.com | All e-mails from any sender of “@example.com” will be treated as spam. |
?.?@example.com | All e-mails from e-mail addresses that match the pattern “(letter).(letter)@example.com” will be treated as spam. |
Define sender addresses fixed as “not spam”
You can add senders to your list of trusted senders using the same system.
E-mails from these addresses will never be declared as spam, regardless of the results of the spam tests.
Move detected spam e-mails to the spam box
If you have activated the spam scanner, you can additionally activate the spam box in your control panel.
E-mails identified as spam are not delivered to your inbox, but to a separate spam folder.
You can control the content of your spam box via Cloud Office or access it directly via IMAP.
Additional information
More information about SpamAssassin can be found:
- On the project page of SpamAssassin
- In the SpamAssassin article at Wikipedia
For support requests please use this form instead.