How to Configure Email Whitelist/Blacklist

*NOTE* The email Whitelist and Blacklist are a part of the Spamassassin Tool; to use them you must first turn on and setup Spamassassin.

Although SpamAssassin generally does a good job of avoiding false positives, you may find that some mail that you want to receive contains enough spamlike characteristics that SpamAssassin regularly tags them as spam. You may want to be sure that SpamAssassin will never mistake email from an important user, client, vendor, or other sender for spam. You may even have users who don't like spam-filtering. SpamAssassin allows you to set up systemwide or user-specific lists of senders whose mail should not be considered spam, and (systemwide) lists of users who don't want their email filtered. Such lists are called whitelists.

On the other hand, you may regularly receive unwanted mail from a particular sender that doesn't get tagged reliably by SpamAssassin. You may know ahead of time that you don't want to receive mail from certain organizations or senders. SpamAssassin also allows you to set up system-wide or user-specific lists of senders whose mail should be tagged as spam. Such lists are called blacklists.

Direct Admin
  1. Login to your Direct Admin. If you do not know how to login to your Direct Admin, please contact Support
  2. Under Email Management, click Spamassassin Setup.
At the bottom of this page you will see the Blacklist and Whitelist text boxes.

Blacklist
  • Add 1 email address or domain per line
  • domains must have an '*' before it.
    • EG: *@mydomain.com will block all email that ends in @mydomain.com
Any email address or domain you enter in this box will automatically, always be flagged as SPAM. You can put as many addresses or domains in this list as you like.

Whitelist
  • Add 1 email address or domain per line
  • domains must have an '*' before it.
    • EG: *@mydomain.com will block all email that ends in @mydomain.com
Any email address or domain you enter in this box will automatically, never be flagged as SPAM. You can put as many addresses or domains in this list as you like.

cPanel
  1. Login to your cPanel. If you do not know how to login to your cPanel, please contact Support
  2. Under Mail, click Apache Spamassassin.
  3. Click the button at the bottom labeled Configure Apache Spamassassin
Blacklist

At the top of the page you will see textboxes labeled blacklist_from. You can enter an email address or domain in each of these boxes to blacklist them. Domains must have a '*' before them to work EG: *@mydomain.com will blacklist any email that ends in @mydomain.com

Any email address or domain you blacklist will automatically, always be flagged as SPAM. You can put as many addresses or domains in this list as you like.

Whitelist

At the bottom of the page you will see textboxes labeled whitelist_from. You can enter an email address or domain in each of these boxes to blacklist them. Domains must have a '*' before them to work EG: *@mydomain.com will blacklist any email that ends in @mydomain.com

Any email address or domain you blacklist will automatically, always be flagged as SPAM. You can put as many addresses or domains in this list as you like.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Add a User

Your backup account can have multiple users if you wish. In the Management Portal click the...

How to Configure your First Backup

Here's how to configure your first backupOnce you have installed the backup client, go to...

Getting deprecated errors? Try this

A PHP upgrade on the server can sometimes cause "deprecated" errors to show up.Here's a good...

How to change my Billing Portal Password

First, login to your Billing Portal by going here: Cloudpockets Billing Next, click on the...

How to change my Webserver Password (Direct Admin | cPanel)

  First, login to your Webserver admin page by directing your browser to your website address...

Powered by WHMCompleteSolution