Question
How to add an email address/domain/top-level domain to the server-wide blacklist?
Answer
Mark emails as spam with Plesk Email Security extension (if installed)
-
Go to Tools & Settings > Plesk Email Security > Server Settings.
-
In the Blocklist field, specify the email address, emails from which will be marked as spam.Note:
- To specify a domain, use @example.com
- To specify a top-level domain, use @.com -
Click Save.
Mark emails as spam with SpamAssasin
-
Go to Tools & Settings > Mail Server Settings > Black List.
-
Click Add Domain and specify the domain name, emails from which will be marked as spam.
-
Click OK.
Block emails completely on mail server level
-
Go to Tools & Settings > Black List.
-
Click Add Domain.
-
Specify the domain name, emails from which will be completely blocked.
-
Click OK.
-
Go to Tools & Settings > Spam filter > Black List.
-
Click Add Domain.
-
Specify the email address, emails from which will be marked as spam.
Note:
- To specify a domain, use *@example.com
- To specify a top-level domain, use *@*.com - Click OK.
For Plesk on Linux
-
Connect to a Plesk server via SSH.
-
Add one or multiple domains (separated by comma):
# plesk bin mailserver --add-to-black-list example.com
-
View blacklisted domains, if needed:
# plesk bin mailserver --info black-list
For Plesk on Windows
-
Connect to a Plesk server via RDP.
-
Use one of these commands:
-
to remove unwanted emails from a particular email address:
C:> plesk bin mailserver --add-to-black-list spam@example.com -action delete
-
to mark unwanted emails as spam from a particular email address:
C:> plesk bin mailserver --add-to-black-list spam@example.com -action mark_spam
Note:
- To specify a domain, use *@example.com
- To specify a top-level domain, use *@*.com
-