This article provides instructions on how to configure the SPAM Filter service. It also provides an overview of the service settings.
Before You Begin
Before configuring the SPAM Filter service, verify that it is properly created. For more information, see How to Configure Services.
Configure the SPAM Filter Service Settings
- Go to CONFIGURATION > Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > SPAM-Filter > SPAM Filter Settings.
- Click Lock.
- In the Spamfilter Settings section, configure the spam filter settings. For more information see Spamfilter Settings section below..
- Click Send Changes and Activate.
Configure Advanced Network Settings
- Go to CONFIGURATION > Configuration Tree > Box > Virtual Servers > your virtual server > Assigned Services > SPAM-Filter > SPAM Filter Settings.
- In the left menu, select Advanced Network Settings.
- Click Lock.
Edit the following settings:
Setting Description Listening Port
The listening port for the SPAM Filter service.
IPs allowed to Connect (ACL)
In this table, add the IP addresses of the clients that are allowed to connect to the SPAM Filter service. By default, 127.0.0.1 is included in this table. It specifies the internal loopback interface of the Barracuda CloudGen Firewall. This interface must be used when the mail gateway and spam filter reside on the same system.
- Click Send Changes and Activate.
Spamfilter Settings
Setting | Description | |
Text To Insert Into Subject | The text that is placed in the subject of an email that is classified as spam. If this field is left empty, the subject of the email is not altered. | |
SPAM Mail Modification | Specifies how spam emails are modified. You can select the following options:
| |
Report Language | The language in which the SPAM report is written when it is added to the mail body (default: English). | |
Threshold | A mail is classified as SPAM when its score exceeds the configured threshold. Increasing the threshold will increase the amount of SPAM missed, but will reduce the risk of false positives (default: 5, medium: 7.5, high: 10, max.: 100). | |
Maximum Children | The maximum number of concurrent spam filter servers. When the limit is reached, spam filtering is put on hold until a server is available. | |
Enable HA Sync | To synchronize spam filtering between an HA pair, select yes. The synchronization starts at 4:20 am. To schedule the synchronization at a different time, select no and create a cronjob for the required time interval (phionrcscleanup). Enter the following line for the cronjob: /opt/phion/modules/server/spamfilter/bin/hacron.sh SERVER SERVICE. | |
WHITE AND BLACKLISTS | To edit the whitelists and blacklists, click Set or Edit. In the following tables, add the email addresses or domains of senders and recipients:
The whitelist is processed before the blacklist. As a result, you can block a domain while also allowing specific senders from it. | |
ONLINE TESTS | To specify the spam-tracking databases to be used by the SPAM filter service, click Set or Edit. You can select the following settings:
| |
RULES | To configure rules that manually override specific testing sequences, click Set or Edit. To disable a given test set (such as one that is known to deliver incorrect results), set its score to 0. | |
TRAINING OPTIONS | For more information, see How to Improve Spam Filtering. |
Next Step
Continue with How to Improve Spam Filtering.