Thanks again.
You are going to love this. I incerted your code.. and... a pause.. nothing
more in the debug. If I delete the db file it will not complain about it, as
if it is not even trying to open it.
Thanks again,
Regards
Warren.
----- Original Message -----
From: Johan Almqvist <[EMAIL PROTECTED]>
To: Warren J. Beckett <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, May 07, 2000 6:59 PM
Subject: Re: scan4virus
> On Sun, May 07, 2000 at 06:22:57PM +1000, Warren J. Beckett wrote:
> > As requested
> >
> > [root@orbital bin]# ls -lsa /var/spool/qmailscan/
> > total 26
> > 1 drwxrwx--- 5 qmailq qmail 1024 May 7 12:57 .
> > 1 drwxr-xr-x 12 root root 1024 May 7 12:54 ..
> > 13 -rw-r----- 1 qmailq root 16384 May 7 12:54
> > antivirus-attachments.db
>
> I think this is your problem. Try making the group 'qmail'.
>
> If that doesn't help, try the following patch:
>
> Between the lines
>
> --snip--
> tie %array, 'DB_File', "$db_filename.db", O_RDONLY, 0600 ||
> &tempfail("cannot open $db_filename - $!");
>
> foreach $file (@allfiles) {
> --snap--
>
> insert the following statement
> &debug("perlscanner-test: " . join ("\n",keys %array));
>
> and check the logs as to whether there are any virii file names after the
> string perlscanner-test .
>
> -Johan
> --
> Johan Almqvist
>