the problem was with the permission on /usr/bin/reformime
I simply chmod -s /usr/bin/reformime and all is well
perhaps a FAQ ???
Regards Dean
Enrico valsecchi wrote:
Hi,If i run clamd as root then all scanning happens and mail is processed. If I run clamd as qscand ( chown -Rf qscand:clamav /var/clamav/ and chown -Rf qscand:clamav /var/run/clamav/ ) then scanning fails with clam complaining that it can open /var/spool/qmailscan/tmp/cen.8u9sd8987d9s/dir.
Doing chown alone won't make clamd run as qscand. Did you alter
/usr/local/etc/clamav.conf too?
I have had same problem until some day .... Clamav must turn under the same user of qmailscanner, qcand.qscand If you use a rpm package of Clamav, remember: 1) service clamd stop 2) chown -R qscand.qscand /var/run/clamav/ 3) chown -R qscand.qscand /var/lib/clamav/ 4) chown -R qscand.qscand /var/log/clamav/ 5) Into /etc/clamd.conf, setting qscand in section User 6) cp /etc/clamd.conf /etc/clamav.conf 7) Into /etc/freshclam.conf, setting "DatabaseOwner" qscand 8) O.K., service clamav start, and antivirus are ready to work with qmail-scanner.
Check a permission file on the Maildrop package. You use a rpm package of Maildrop? Some version are bad file permission, set on root.qmail of all files in /usr/bin after install of Maildrop Important is set bin.bin REFORMIME, because qmail-scanner call it to split messagges and attachments .... Therefore:
chown bin.bin /usr/bin/reformime (To say true, I have correct a spec file of Maildrop package, rebuild with corrections, and re-install, but I think with new reformime setting permission would have to work ....)
Now, You can test all!
Bye,
Enrico
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general