READ ME FIRST
(mt) Media Temple makes a best effort to ensure the accuracy of all content contained herein. The publishing of this information does not imply support of this article. This article is provided solely as a courtesy to our customers. Please consult our DV Scope of Support for further information.
- Log into the Plesk Control Panel for your domain.
If you log into Plesk with the admin user, you will be in the Server Administration Panel by default. To get to the Control Panel, click on Domains, then on the Control Panel link next to your domain.
You can also create a user that will log into the Control Panel by default, which will save you a few clicks on day-to-day webmaster tasks. See Control Panel user.
- Click on the Mail tab at the top.
- Click on your email address in the list.
- Then, click on the Spam Filter tab.
- If you want to change the default settings, click on Show Advanced Settings.
- Here, you can change the filter sensitivity, or add email addresses to your White List or Black List. For the sensitivity, a lower number will make the spam filter stricter and a higher number will allow more messages through. Click the OK button to save your settings.
Add addresses via SSH
This method goes one step beyond marking unwanted messages as spam. It will actually send a bounceback to the sender, with the following message:
SMTP error from remote mail server after RCPT TO:<email@example.com>: host mail.example.com [22.214.171.124]: 553 sorry, your envelope sender is in my badmailfrom list (#5.7.1)
To add email addresses to your badmailfrom list via SSH, please follow these instructions:
- Log into your server with a root or sudo user via SSH.
- Open or create your badmailfrom file by executing the following command:
- Add each desired email address, server name, or IP on a separate line. Save the file.
vi tip: Press "i" to enter "insert mode" so you can type and copy/paste. Press "Esc" to exit "insert mode" when you are done modifying the file. Type ":wq" to save and quit.
- Restart the appropriate mail services with the following line:
/usr/local/psa/admin/bin/mailmng -o ; /usr/local/psa/admin/bin/mailmng -p ; /etc/init.d/xinetd restart ; /etc/init.d/qmail restart