Train spamassassin5/18/2023 ![]() ![]() Now all future mail that would have been tagged as SPAM will be automatically deleted. If you are satisfied that spam is being tagged, and legitimate mail is not, you can opt to log back into the control panel and under the Spam Filter settings change the settings to “Delete all spam messages”.You can do this by explicitly telling it what. If you notice that spam is still getting through untagged, or legitimate mail is getting tagged as spam, you’ll need to change the sensitivity accordingly in step 4. In order for SpamAssassin to be accurate, you must train it on your specific mail patterns. This example is using Microsoft Outlook 2010. In the email application on your computer you should see spam emails tagged with the “***SPAM***” tag, and legitimate emails with a normal subject heading.In this example, has been added to the White list so all mail from will always be delivered. If you have previously learnt any of the messages as ham, SpamAssassin will forget them first, then re-learn them as spam. You can also add certain email addresses and domain names to the White list (always deliver) and Black list (always block).Under Advanced settings, set the “Spam filter sensitivity” to a value either 4 or 5 to begin with.Tick “Switch on spam filtering for this email address” then select “Mark Spam messages by adding the following text to message subject” and give a meaningful name in the field. The next step is to set up a cron that will execute the SpamAssassin utility sa-learn to consume the emails and update its detection mechanism.For this example we’ll use Click on Spam Filter. Click on the mail box where you’d like to set up Spam Assassin. ![]() Once you have logged in to Control Panel click on the ” Mail ” tab.The following steps outline how to train the filter to your requirements. On node 1 I used the command sa-learn to learn spam mails: 'sa-learn -dbpath /var/lib/amavis/.spamassassin -progress -spam /var/spam/' I noticed, that on node 1 the folder '/var/lib/amavis' exists, but on node 2 it is not. There is some trial and error in setting the spam filter sensitivity scale for the right tolerance so that the right emails are getting through and the spam is getting blocked. Once it is enabled, it is necessary to train spamassassin to learn what is junk mail and what is ham. It works by scanning emails before they reach your inbox and scores them in relation to a scale set by you within Control Panel, then either tags or deletes spam, depending on your setting. Info for spamassassin command line bayesian learn. SpamAssassin is a free spam filter preinstalled in Plesk that help to eliminate unwanted spam emails. ![]()
0 Comments
Leave a Reply. |