[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Maillog
- Subject: Re: [cobalt-users] Maillog
- From: Hendrik Runte <cobalt@xxxxxxxxxx>
- Date: Wed Aug 1 20:58:03 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
am 02.08.2001 11:53 Uhr schrieb Edward Bishop unter eddie@xxxxxxxxxxxxxxxx:
> Two questions to do with maillog on a RaQ4:
>
> 1. Can I make maillog record the event of a user logging in to collect their
> mail? And, preferably, how many messages they received/deleted?
>
> 2. Can I make the RaQ maintain two copies of maillog, the normal one and
> another one (which needn't rotate) somewhere under home/sites/home/web (or
> another web site directory) so that I can read it with a browser? Or can
> anyone recommend a Perl script or similar which I can call from a web page
> and which will go and read maillog from its usual location and return it to
> the browser as a text file?
>
> Sorry if this stuff is in the archive - I have looked. If it is, please give
> me a pointer.
>
> TIA
>
> Eddie
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>
Hi Eddie,
1. Sure you can. One easy way might be to install Logcheck
http://www.psionic.com . Logcheck searches daily all your logs for specified
words and terms. If installed without any configuring afterwards it will
send you mails for every pop3 service, for example (and many other things
too).
If you just want to see how much traffic is made by you customers, check the
your GUI for statistics.
2. All you need to do is to write a short shell script which copies your log
files to document root of your apache (beware, these files can be very
long). This tiny script needs to be run by your cron daemon, eg daily. How
to write a shell script is nicely described here: http://www.linuxnewbie.org
Regards,
Hendrik
--