Plesk

How to add an email address/domain/top-level domain to the server-wide blacklist in Plesk

Question

How to add an email address/domain/top-level domain to the server-wide blacklist?

Answer

 

For Plesk on Linux

 

Mark emails as spam with Plesk Email Security extension (if installed)

  1. Log in to Plesk.

  2. Go to Tools & Settings > Plesk Email Security > Server Settings.

  3. 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


  4. Click Save.

 


 

Mark emails as spam with SpamAssasin

  1. Log in to Plesk.

  2. Go to Tools & Settings > Mail Server Settings > Black List.

  3. Click Add Domain and specify the domain name, emails from which will be marked as spam.

  4. Click OK.

 


 

Block emails completely on mail server level

  1. Log in to Plesk.

  2. Go to Tools & Settings > Black List.

  3. Click Add Domain.


  4. Specify the domain name, emails from which will be completely blocked.


  5. Click OK.

 

For Plesk on Windows Server

 

  1. Log in to Plesk.

  2. Go to Tools & Settings > Spam filter > Black List.

  3. Click Add Domain.


  4. 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

  5. Click OK.

 

Command-line instructions

 

For Plesk on Linux

  1. Connect to a Plesk server via SSH.

  2. Add one or multiple domains (separated by comma):

    # plesk bin mailserver --add-to-black-list example.com

  3. View blacklisted domains, if needed:

    # plesk bin mailserver --info black-list

 

For Plesk on Windows

  1. Connect to a Plesk server via RDP.

  2. Start a command prompt as an Administrator.

  3. 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

 

Exit mobile version