Back to Blog
Plesk spamassassin6/3/2023 ![]() In the command field enter /usr/local/sbin/domain_create_post_disable_greylisting.sh ConclusionĬongratulations, you have now configured incoming spam filters with SpamAssassin. Default domain (the first domain added to a subscription) created.Make this script executable: chmod 700 /usr/local/sbin/domain_create_post_disable_greylisting.sh We will save this script as /usr/local/sbin/mail_create_post.sh cat /usr/local/sbin/mail_create_post.sh This script will enable SpamAssassin and change the default action of rewriting the subject to moving the mail to the Spam folder. Step 4: Enable SpamAssassin by default for new users (optional but recommended)Ĭreate a new script on your server which will be called upon mailbox creation. Learn how to switch on and configure the spam protection at the Switching on SpamAssassin section. Make following field blank: “Add the following text to the beginning of subject of each message recognized as spam” Plesk for Microsoft Windows Enable server-wide SpamAssassin filters Apply individual settings for spam filters The rating that must be assigned to a message. The SpamAssassin spam filter identifies spam messages among emails sent to mailboxes hosted on your Plesk server. View tab Mail and open the Spam Filter settings by clicking on Spam Filter.Įnable “Switch on server-wide SpamAssassin spam filtering”Įnable “Switch on server-wide greylisting spam protection” (highly recommended)Įnable “Apply individual settings to spam filtering” On the left pane, click Tools and Settings. Step 2: Install SpamAssassin plesk installer -select-release-current -install-component spamassassin Step 3: Configure SpamAssassin Please read this article for instructions if you don’t know how to connect. You must be logged in via SSH as sudo or root user. A VPS, Budget Dedicated Server or Dedicated Server running Plesk Obsidian control panel.These articles will help with installing and configuring both. SpamAssassin in combination with ClamAV is considered a standard setup to protect against viruses and spam. Now all future mail that would have been tagged as SPAM will be automatically deleted.In this article, we will describe how you can configure the incoming spam filter of SpamAssassin in Plesk. ![]() 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”.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. 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. The spamassassin utility is used to manage the Spamassassin spam filter through CLI.In this example, has been added to the White list so all mail from will always be delivered. 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.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. 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. It serves as the spam-filtering and detection solution for numerous ISPs and hosting providers, and is integrated in commercial software including Plesk, cPanel, Vesta Control Panel, and many others. 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. Apache SpamAssassin can be used on a wide variety of email systems including Postfix, procmail, qmail, sendmail, and more. SpamAssassin is a free spam filter preinstalled in Plesk that help to eliminate unwanted spam emails.
0 Comments
Read More
Leave a Reply. |