Hello!

Am Donnerstag, 10. Februar 2005 15:46 schrieb Salvatore Toribio:

 Can you use the comand below and tell me if there is any error?
 setuidgid clamav /var/qmail/bin/qmail-scanner-queue.pl -r

Sorry there is no setuidgid on the system, i used su instead

su clamav -c "/var/qmail/bin/qmail-scanner-queue.pl -r"
perlscanner: reading from /var/spool/qmailscan/quarantine-attachments.db
...
perlscanner: total of 29 entries found.
No problem reading the db. I don't think it's a problem with rights.


Well, 'su' and 'setuidgid' don't are exactly the same thing..

Anyway, I was wrong before, you will have to test it with the real user that will call qmail-scanner, so the user who runs qmail-smtpd, in my system is 'qmaild', try to test:

su qmaild -c "/var/qmail/bin/qmail-scanner-queue.pl -r"

But really I can't figure out why you have that error, I supose that everythig is in the same file-system...

Good luck

ST


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to