Quote: |
Finished. Please read README(.html) and then go over the script (/var/qmail/bin/qmail-scanner-queue.pl) to check paths/etc. "/var/qmail/bin/qmail-scanner-queue.pl -r" should return some well-known virus definitions to show that the internal perlscanner component is working. That's it! ****** FINAL TEST ****** Please log into an unpriviledged account and run /var/qmail/bin/qmail-scanner-queue.pl -g If you see the error "Can't do setuid", or "Permission denied", then refer to the FAQ. (e.g. "setuidgid qmaild /var/qmail/bin/qmail-scanner-queue.pl -g") That's it! To report success: % (echo 'First M. Last'; cat SYSDEF)|mail jhaar-s4vstats@crom.trimble.co.nz Replace First M. Last with your name. To enable qmail-scanner, add this to your /var/service/smtp/run file: QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE |
($:~)=> setuidgid qmaild /var/qmail/bin/qmail-scanner-queue.pl -gsetuidgid: fatal: unable to setgid: permission denied
Mar 29 16:03:57 mail X-Qmail-Scanner-1.21: [mail.domain.com10805942364707892] cannot link /var/spool/qmailscan/working/tmp/mail.domain.com10805942364707892 into /var/spool/qmailscan/working/new/mail.domain.com10805942364707892 - Operation not permitted Mar 29 16:07:11 mail X-Qmail-Scanner-1.21: [mail.domain.com10805944304707982] cannot link /var/spool/qmailscan/working/tmp/DOMAIN.COM10805944304707982 into /var/spool/qmailscan/working/new/DOMAIN.COM10805944304707982 - Operation not permitted