Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
How to block a particular mailbox or a range of mailboxes belonged to a specific domain from sending emails to Plesk server?
Answer
Note: in order to block the email sender by IP, navigate to this article: Is there any way to block an IP address in Plesk Firewall?
To block email accounts on a server-wide level, check out this KB article.
Note: SpamAssassin has to be installed on the server and enabled on the required mailbox.
-
Go to Plesk > Domains > example.com > Email Addresses > john.doe@example.com > Spam filter.
-
Click the Show Advanced Settings link.
-
Specify a particular mailbox or a range of mailboxes belonged to a specific domain in the Black list field, e.g.:
CONFIG_TEXT: johndoe@example.com
*@example.org
*@*.net -
Press the OK button.
Note: The steps above will add the address to individual black list, which will give it a score 100, making it be detected and processed as spam. Now, in order to effectively delete the messages detected as spam, click on "What to do with messages classified as spam" option on the same tab and select the option "Delete all spam messages"
Additional Information:
SpamAssassin blacklist for mail address does not work as described
Comments
4 comments
Having tried the server wide option, I found the emails still appearing in the spam folder.
@John Bertin,
Hi! Such behavior is expected because when you add a mailbox to Black List, mail from that mailbox will be sent to Spam Folder.
You may use the solution from the Note in Server-wide section to delete all spam messages (this should be configured per mailbox).
Did not work, i still receive email from a domain blocked via server level.
@Kingsley Felix Please contact our support in order to clarify the issue.
Please sign in to leave a comment.