Broadband
Dial-Up
Email
Hosting
Wireless
Security
Useful Tools
Quick Reference
Contact Us
Customer Portal
Site Search

Zen Internet Support Forum

Welcome to the Zen Internet community support forums.

Before posting we recommend you search our
extensive Knowledge Base or the forum archives
as an answer to your query may already be available.

Welcome to Zen Internet Support Forum Sign in | Join | Help
in
Forums Forum Rules

Whitelists and whitelisting in cpanel email filters

Last post 20-08-2008, 8:19 AM by mikebudd. 0 replies.
Sort Posts: Previous Next
  •  20-08-2008, 8:19 AM 31365

    Whitelists and whitelisting in cpanel email filters

    Amazingly it appears this can be done. (But CAUTION - you can lose emails if you get this wrong!)

    1) Create filtering rule that scans 'any header' for regular expression matches to a list of email addresses (probably best not to include ".co.uk" etc suffixes) separated by the | (vertical bar) symbol with no spaces before or after. (Spaces and dots may be interpreted as literals or operators depending on implementation of regular expression language).

    2) make this rule first on the list of filters by making it forward email to an account with a name that starts with a letter at the start of the alphabet

    3) make your email software download from this email address. Maybe change the 'reply to' address on the a/c in your email software.


    This works because:

    1) Filters are evaulated starting first on the list, which is always ordered alphabetically by action

    2) The regular expression syntax appears to implement the Perl Compatible Regular Expression Syntax - see my more general post on email filters

    3) Only one filter ever fires

     


    Hope this helps someone!
     

    Filed under: , ,
View as RSS news feed in XML