As you may already be aware, you can block all mail from a Top-Level Domain by blacklisting it in System Setup > Mail Relay > Sender Controls > Blacklisted Top Level Domains (TLDs):




If you blacklisted a top-level domains, there is no way around it -- not even whitelisting the email address, domain, or the sending IP address.


If you don't want to receive email from a Top-Level domain, but still be able to quarantine the message and/or whitelist the email address/domain/IP to get it in, do the following:


- Remove the Top-Level Domain from System Setup > Mail Relay > Sender Controls > Blacklisted Top Level Domains (TLDs):


- Add the following to Filter Rules > Pattern Filtering > Blacklisted Patterns:

/(From|Return\-Path):\s+.+\@.+\.{tld}>?\b/    (where {tld} is the top-level domain you want to block)


For example, if you want this to apply to ".info", use the following blacklisted pattern


/(From|Return\-Path):\s+.+\@.+\.info>?\b/



Blacklisted Patterns add 100 to the Spam Score, you can confirm this is working by going to Reporting > History, and search for Inbound mail with the following for the sender email address:  *.{tld}

-- If working, the scores should be around 100.