[squid-users] SOLVED! Re: [squid-users] RE: [SPAM] - [squid-users] possibly off-topic: squid-Guard config issue - Bayesian Filter detected spam

From: DataZap <[email protected]>
Date: Sun, 19 Aug 2007 00:13:45 -0700 (PDT)

Hi,

Yes! Putting in what you described work!

Thanks,
Al

On Thu, 16 Aug 2007, Edward Stafford wrote:

> Date: Thu, 16 Aug 2007 20:09:29 -0400
> From: Edward Stafford <ed.stafford@newmancom.com>
> To: DataZap <az@datazap.net>, squid-users@squid-cache.org
> Subject: [squid-users] RE: [SPAM] - [squid-users] possibly off-topic:
> squid-Guard config issue - Bayesian Filter detected spam
>
> You could put the redirector urls in the sources (dest)
> dest blocked {
> domainlist blocked/domains
> expressionlist blocked/expressions
> redirect http://localhost/blocked.html
> }
>
> dest ads {
> domainlist ads/domains
> redirect http://localhost/images/ads.jpg
> }
>
>
> This is how mine are set up and it works fine for me.
>
> -----Original Message-----
> From: DataZap [mailto:az@datazap.net]
> Sent: Thursday, August 16, 2007 3:36 PM
> To: squid-users@squid-cache.org
> Subject: [SPAM] - [squid-users] possibly off-topic: squid-Guard config
> issue - Bayesian Filter detected spam
>
> Hi,
>
> I have installed a squid server a while ago to use as a content filter.
> I have been working on a custom blocklist. This seemed to go well until
> I installed the different lists. I would like to have 2 different
> redirect urls - one for blocked sites and the other for advertising
> sites. This is what my config looks like now:
>
> #
> # CONFIG FILE FOR SQUIDGUARD
> #
>
> dbhome /usr/local/etc/squidguard/db
> logdir /var/squidguard/log
>
> dest blocked {
> domainlist blocked/domains
> expressionlist blocked/expressions
> }
>
> dest ads {
> domainlist ads/domains
> }
>
>
> acl {
> default {
> pass !blocked !ads all
> redirect http://localhost/
> }
> }
>
>
> Is there anyway that I could do something like:
>
> acl {
> default {
> pass !blocked all
> redirect http://localhost/blocked.html
> }
> default {
> pass !ads all
> redirect http://localhost/images/ads.jpg
> }
> }
>
> Thanks,
> Al
>
>
>
>
>
> This email and any files transmitted with it are intended solely for the use of the individual (recipient) or entity addressed at recipient. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
>
>
Received on Sun Aug 19 2007 - 01:14:00 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT