You could try an ACL using regex on the URL looking for mail and exe or
something similar.

-----Original Message-----
From: Peņa, Botp [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 29, 2003 10:12 PM
To: [EMAIL PROTECTED]
Subject: RE: [squid-users] deny downloads fr webmails

Adam Aube [mailto:[EMAIL PROTECTED] wrote:

> >I'd like to deny downloading of files fr common webmails like  
> >yahoo/hotmail. It's the webmail downloads I cannot catch.
> >
> >I only get this kind of log:
> >
> >1056815851.164    934 10.1.1.1 TCP_MISS/200 11237 GET
> >http://us.f138.mail.yahoo.com/ym/ShowLetter? - DEFAULT_PARENT/10.
> 254.254.6
> >application/x-msdos-program
> >
> >Is it possible in squid to deny such download?
> 
> Check more log entries for these downloads - do all of them come 
> from a mail.yahoo.com server and use the ShowLetter script? 
> Is ShowLetter 
> used only when downloading files?
> 
> If so, you could try using a url_regex acl - something like this:
> 
> acl YahooFiles url_regex -i mail\.yahoo\.com.+ShowLetter 
> http_access deny YahooFiles

but this in itself is not enough. I would not let them download executable
files only. Surely, I would allow them to download textfiles.
 
> If it were possible, it would be far easier to simply block the sites 

sorry, cannot do that.

Does anyone know of any squid add-in that does filtering of files in
webmails?

> Adam

kind regards -botp

**********************************************************
This message was virus scanned at siliconjunkie.net and
any known viruses were removed. For a current virus list
see http://www.siliconjunkie.net/antivirus/list.html

Reply via email to