Re: emailing log files

From: Merton Campbell Crockett <mcc@dont-contact.us>
Date: Wed, 14 Jun 2000 15:32:34 -0700 (PDT)

On Tue, 13 Jun 2000, Craig Fels wrote:

> Hopefully someone can help. It worked last time, and I appreciate it!
>
> I need to send a daily email of /usr/local/squid/logs/access.log to someone.
>
> Can anyone help me? I'm new to Linux and Squid, but picking it up pretty
> quickly.
>
> I'm using Mandrake 7.0

metasend -b -t <host_key>-list -s "Virtual Host Daily Log Files: <host_key>" -S 5000000\
        -m application/octet-stream -e base64 -f /var/www/virtual/<host_key>/logs/access.log.0.gz -D "access.log.0.gz" -n\
        -m application/octet-stream -e base64 -f /var/www/virtual/<host_key>/logs/custom.log.0.gz -D "custom.log.0.gz" -n\
        -m application/octet-stream -e base64 -f /var/www/virtual/<host_key>/logs/error.log.0.gz -D "error.log.0.gz" -n\
        -m application/octet-stream -e base64 -f /var/www/virtual/<host_key>/logs/rewrite.log.0.gz -D "rewrite.log.0.gz"

Just happened to be updating some documentation. The above is what I use
for mailing out daily logs. host_key is an acronymn that I use for the
host internally. host_name is what the owner of the web site knows his
system as.

Merton Campbell Crockett
Received on Wed Jun 14 2000 - 16:41:29 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:02 MST