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

Reply via email to