White / Black - lists -- whitelists for Newsletter module

MailCleaner Support
Added almost 2 years ago

In this document we will speak about whitelists, every thing is exactly the same for the blacklist feature.

White / black -lists feature

There is no global whitelist in MailCleaner. The feature called Whitelist will only prevent the filters in


to stop a message.

To enable whitelists, you need to check

Configuration->AntiSpam->Enable access to whitelists

Once this is done and applied, you can add whitelist at 3 different levels :

  • Server level : these whitelists will be applied to all users belonging to every domain that activated whitelists. Those whitelists are in


To activate whitelists for a domain, you need to check

Configuration->Domains-> domain name ->Filtering-> Enable whitelists

  • Domain level ; these whitelists will be applied to the users of this domain :

    Configuration->Domains-> domain name ->Filtering

  • User level : these whitelists will only be applied for this domain. These can be found in the private web interface of the user.

Newsletters whitelists

The anti newsletters module is enabled by default but is only applied to users/domains who disabled :

Configuration->Domains-> domain name -> Allow newsletters by default

Entry syntax

Those lists are using PCRE regular expressions, that is to say that in order to block the TLD : .tld you will need to add


To insert black/white lists in bulk