At 1:41 -0400 2-07-2009, Nicholas DeMarinis wrote:
>Hello,
>
>I've just installed qmail-scanner-2.06 on top of netqmail-1.06.  Q-S
>has successfully detected clamd 0.93.3 and spamd (fast) 3.2.5.  It
>_appears_ to be functioning well when sending and receiving plain text
>email, but I find the following if I test the installation with
>test_insallation.sh, or attempted to replicate it with an attachment
>or something similar that would invoke clamd, I find the following:
>
>test_installation.sh:
>Sending standard test message - no viruses...
>done!
>

>Thu, 02 Jul 2009 00:40:20 EDT:24660: --output of clamdscan was:
>/var/spool/qscan/tmp/my-hostname124650962056624660: Access denied. ERROR
>--

Hi

It seems to me a permission problem. There is something new in 2.06, 
as you are running clamav as qscand it shouldn't be the cause of the 
problem, but who knows. I have never tried the wrapper and it seems 
that many people has issues with it.

You can try to modify qmail-scanner-queue.pl, search for:

        #Now ensure the permissions are opened up to 0740
        my $xchmod=`chmod -R 740 . 2>&1`;

And change it to (suggested as bug by P-O Yliniemi):

        my $xchmod=`chmod -R 750 . 2>&1`;

You can also set DEBUG to 101 and see what are the permissions inside 
/var/spool/qscand/tmp

Regards

ST

------------------------------------------------------------------------------
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to