[squid-users] Re: digging from cache

From: Adam Aube <aaube01@dont-contact.us>
Date: Wed, 26 Jan 2005 20:53:20 -0500

Shiraz Gul Khan wrote:

> but, if i use the command
> #tail -f /var/log/squid/cache.log

> i c my current running cache.log.

cache.log doesn't log requests sent to Squid - access.log does.

> so is there any command for catch a line and write to in other txt file
> if someone use the proxy and put any line if they use as a @any mail
> service.

If your users are using a webmail service, and if the email address or
username is somehow part of the URL, it will show up in access.log. You can
parse the log and get this information there.

If you are talking about POP, IMAP, and/or SMTP, and not webmail, then you
are looking in the wrong place. Squid only deals with HTTP - it does not
deal with email protocols. An mail relay server your clients are forced to
use or a packet sniffer would be the preferred tools in this case.

Adam
Received on Wed Jan 26 2005 - 19:00:17 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:36 MST