RE: [vchkpw] Logs

2004-06-15 Thread Mário Gamito
Hi Ken, 

 qmailmrtg7 only works with multilog style logging directories.
 It is looking to have a directory passed to it. Then it looks 
 for the files within the last 5 minutes using the @tai64 
 naming format along with the current file, and the individual 
 timestamp entries on each line.
Does this means that is not possible to monitor SPAM and virus ?

Warm Regards,
Mário Gamito



Re: [vchkpw] Logs

2004-06-15 Thread Sean Plaice
On Tue, 15 Jun 2004 00:49:32 +0100, Mário Gamito [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I'm not sure if this is the right place to pose this questions, but it seems
 that qmailmrtg7 doesn't have a mailing list.
 
 So, i want to monitor SPAM and virus through qmailmrtg7.
 
 Well, i'm unable to monitor both SPAM and virus.
 
 SPAM:
 
 ---
 
 What is the file to filter ?
 /var/spool/qmailscan/qmail-queue.log ?   or
 /var/spool/qmailscan/quarantine.log ?
 
 If i run *as root:
 # /usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/qmail-queue.logor
 #/usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/quarantine.log
 
 i get this error:
 
 failed to open dir /var/spool/qmailscan/qmail-queue.log
 
 If i run *as root*
 usr/bin/mrtg /etc/mrtg/qmail.mrtg.cfg

I just downloaded the latest version that includes the clamav, and
spamassasin support. If you look in the qmail.mrtg.cfg file supplied
it shows for you to use the actual clamav, and spamd log files, not
your qmail-scanner logs (they will not be the appropriate format for
the parser).

From qmail.mrtg.cfg:
Target[clamd]: `/usr/local/bin/qmailmrtg7 C /var/log/clamd`
Target[spamd]: `/usr/local/bin/qmailmrtg7 S /var/log/spamd`
-- 
Sean


Re: [vchkpw] Logs

2004-06-14 Thread Ken Jones
qmailmrtg7 only works with multilog style logging directories.
It is looking to have a directory passed to it. Then it looks
for the files within the last 5 minutes using the @tai64 naming
format along with the current file, and the individual timestamp
entries on each line.

Ken Jones

On Monday 14 June 2004 06:49 pm, Mário Gamito wrote:
 Hi,

 I'm not sure if this is the right place to pose this questions, but it
 seems that qmailmrtg7 doesn't have a mailing list.

 So, i want to monitor SPAM and virus through qmailmrtg7.

 Well, i'm unable to monitor both SPAM and virus.

 SPAM:

 ---

 What is the file to filter ?
 /var/spool/qmailscan/qmail-queue.log ?   or
 /var/spool/qmailscan/quarantine.log ?

 If i run *as root:
 # /usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/qmail-queue.logor
 #/usr/local/bin/qmailmrtg7 S /var/spool/qmailscan/quarantine.log

 i get this error:

 failed to open dir /var/spool/qmailscan/qmail-queue.log


 If i run *as root*
 usr/bin/mrtg /etc/mrtg/qmail.mrtg.cfg

 i get this error:

 ERROR: Target[spamd][_IN_] ' $$target[3]{$mode} ' did not eval into
 defined data
 ERROR: Target[spamd][_OUT_] ' $$target[3]{$mode} ' did not eval into
 defined data
 WARNING: Skipping Update of spamd, inlast is not defined
 WARNING: Skipping Update of spamd, outlast is not defined


 My file and dir permissions:

 drwxr-x---5 qscand   qscand   4096 Jun 14 17:46 qmailscan
 -rw---1 qscand   qscand   98086696 Jun 14 17:58 qmail-queue.log
 -rw---1 qscand   root   43 May 30 18:18
 qmail-scanner-queue-version.txt
 drwxrwx---5 qscand   qscand   4096 May 15 21:21 quarantine
 -rw-r-1 qscand   root12288 May 30 18:18
 quarantine-attachments.db
 -rw-rw1 qscand   qscand   4279 May 15 22:44
 quarantine-attachments.txt
 -rw-rw1 qscand   qscand 665574 Jun 14 17:49 quarantine.log
 drwx--   42 qscand   qscand   4096 Jun 14 17:58 tmp
 lrwxrwxrwx1 qscand   qscand 31 May 30 18:18 viruses -
 /var/spool/qmailscan/quarantine
 lrwxrwxrwx1 qscand   qscand 35 May 30 18:18 viruses.log -
 /var/spool/qmailscan/quarantine.log
 drwxrwx---5 qscand   qscand   4096 May 15 21:21 working



 

 Anti virus:

 
 Well, it seems that qmailmrtg7 is configured for clamad.
 Is there a way to configure it to f-prot?
 -


 Any help would be appreciated.

 Warm Regards,
 Mário Gamito