Scott Andrews wrote:
Hi All,Sorry for the number of questions recently... Trying to generate some nice reports about spam/virus detection per day, etc, not just sent/received.Would also like to drill down further if possible (see the actual sender and receiver) to see what mails were rejected due to a catch in spamassassin or clamav and to also send a copy of suspected spam mail to an additional account on the system (i.e. maintain a folder on the server with all spam so it can be used for training).Anyhow, as I'm looking into other utilities, I'm noticing small differences with the QmailToaster packages as opposed to raw qmail or netqmail - for instance the logs (different directories, etc).After running a stats analysis utility after pointing it to the correct log file names, I notice the logs contain a vast amount of historical data.Is this needed so things like mrtg and isoqlog can generate their history pages? Or can the logs be pruned?If it's possible to start pruning, is there a utility for that, or how should I do this manually? Is it possible to use logroate to generate the log, log.1, etc files?
A lot of the info you're looking for will be in the mrtg page. Real data can be read by reading the logs:
tail /var/log/qmail/send/current | tai64nlocal
tail /var/log/qmail/smtp/current | tai64nlocal
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
