Mailtraq - the Complete Email Server

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

Search for:

Advanced search

KB01120901 Using the Content Barring (blacklists/whitelists)

You need to place specific url or ip addresses in the blacklist. For example, to block access to all usa microsoft content ...

or to ban all sites


... and select the "Ban entire web site" mode. You can then enter individual web pages within that site to the whitelist if you want to permit access to those pages only.

and in the white list, to enable the whole of a site:*

but watch out for sites like the bbc which need


An alternative would be to create a new phrase file and add the single word ...


... on a line of its own. That will also prevent access to the entire site and it adds trapped url to the ban cache which you can view and manipulate by clicking on the View Ban Cache button on the URLs tab.

Notes regardomg whitelist entries:

  1. If a URL redirects, you need the redirected URL as well.
  2. If a URL redirects to an IP address you need to put the IP address on its own; i.e. you will get a message like " is banned" but you only need to put "" in the whitelist.txt to make it work. Putting in "" wont work.
  3. Visiting a page full of ads usually blocks the ads because the ads link with a 'banned' URL (eg it does not clog up the screen BUT you will get "Access to URL is banned" messages all over the screen instead.
  4. Some sites ( use sub-domain'ed references for images - they use etc. so you won't see them.
  5. If you change the black/white lists, you probably need to clear the Temporary Internet files cache in your browser otherwise it keeps trying to retrieve the cached page and therefore you wont see any changes.

Author credit

Keywords: kb proxy
Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP email server video IMAP Server     Mailtraq IMAP email Server video
 POP3 Server     Mailtraq POP3 email server video Proxy Server     Mailtraq proxy email server video
 Webmail Server     Mailtraq webmail email server video Mailing-list Server     Mailing list email server video
 Groupware Services     Mailtraq groupware email services video Spam and Virus control     Spam and virus control email server video


   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.