Edit/add the file with below config and save it. Ģnd configuration file that we need to edit is /etc/sysconfig/spamassassin file. For this guide we will use the default subject header of. ' Select the ' Apache SpamAssassin Options ' tab. Rewrite_header: This line does exactly what it implies, that is, any message caught as ‘SPAM’ will have the subject line rewritten to include this header. Navigate to ' Home > Service Configuration > Exim Configuration Manager. For our example email server we will use the score of 5, but you can of course set this value according to your preference. If we set the score to 3 we would catch a lot of unsolicited emails but quite a few false positives would still get through. Zero would be classified as a legitimate email item, whereas 5 would be an definite ‘SPAM’ item. Required_score: This line sets the spam score for all email alllowed through to your domain, with levels of certainty set from 0 to 5. Adjust the Spam Threshold Score to your desired level In cPanel you can adjust the Spam Threshold Score to one of the following settings, or a custom number between 1 and 10: Score 1: Aggressive - This will mark many legitimate emails as spam. For this guide we shall use 0 as the score. A score of 1 will delete the spam item, whereas a score of 0 will send the item to the inbox and rewrite the subject line. The levels for this line are set to either a 1 or 0. Report_safe: This line determines whether to delete the item or to move the item to the inbox whilst appending a spam notice to the subject line. Adjust the strictness score to your organization’s needs – a large medical organisation might want to let email items through that are trying to sell pharmaceuticals, so we might increase the level to a more modest 8.0. A setting of 5.0 is generally effective for a small organisation or a single user. Required_hits: This determines the filter balance the lower the score the more aggressive the filter. Here is the explanation of each setting of the above configuration.
0 Comments
Leave a Reply. |