Plesk

How to block a particular mailbox or a range of mailboxes belonged to a specific domain from sending emails to Plesk server?

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.

    1. Log into Plesk.

    2. Go to Plesk > Domains > example.com > Email Addresses > john.doe@example.com > Spam filter.

    3. Click the Show Advanced Settings link.

    4. Specify a particular mailbox or a range of mailboxes belonged to a specific domain in the Black list field, e.g.:

      johndoe@example.com
      *@example.org
      *@*.net

    5. 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:

Administrator's guide: SpamAssassin Spam Filter