Mailtraq - the Complete Email Server
   

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

Search for:

Advanced search

KB03031402 Configuring web proxy content barring

The content barring white lists and black lists use Mailtraq's "Wildcard List", an algorithm that appears throughout the system.  In this particular case, the URL (excluding protocol) is the comparator.

Wildcard Lists are processed in order.  If any of the items match, the result is positive.  Each line (item) may be prefixed with a tilde (~) which negates the test.  Items may also be prefixed (after the optional tilde) with

=~ for Regular Expressions, and
=^ for Wildmat Expressions.

Thus a blacklist of :-

 www.google.com/*
 ~www.google.com/help/*
 =~bad$
 ~=~good$

Would blacklist http://www.google.com/search?q=wildcards, but not
http://www.google.com/help/.

It would blacklist http://www.google.ca/search?q=bad but not
http://www.google.ca/search?q=badsorta or
http://www.google.com/search?q=good.

If  the proxy usually transmits part of the page (e.g. the header) before the content is blocked, upgrade to build 2.2.0.1374 (or a more recent build).

So, to ban everything EXCEPT a given url you need to do this:

First set up the Barrier. The Barring controls are found here:

Options | Incoming Mail | Barring | Content Barring Barriers | Setup Content Barriers

at the Barriers tab, select ADD

at the Content Barriers Dialog select URLs
[x] Enable Blacklist/Whitelist

Edit the blacklist.txt file (which is blank to start with).

(For example,  this content

*
~www.google.com
~www.enstar.net

would ban proxy access to all sites, except Google and Enstar)

Then OK, back to the Console.

Then: set the proxy to use the Blacklist settings

Options | Services | HTTP-PROXY - Properties

At Properties, check the box,
[x] Internet Barring
then, OK back to the Console.

The settings will become effective next time Mailtraq is started, so you may wish to shutdown and restart Mailtraq at this time.


Keywords: kb proxy barring
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.