Dale Gallagher said: > Hi > > I appologise for the OT (though related) post. I'm having a > tough time getting qscanq running - the issue is related to > permissions. I'd appreciate a verbose listing of the > relevent dirs on a host where qscanq has been successfully > deployed. Thanks! > > qmail-smtpd (when passing the mail to qscanq) keeps on > rejecting mail. NB. also using qscanq with the QMAILQUEUE > patch. > > qscanq: fatal: unable to chdir to > /var/qmail/qscanq/root/scanq: access denied > > clamd is running under daemontools as user clamav; this > shouldn't pose an issue, as qscanq connects to clamd using > the clamdscan client. > > src/conf-scancmd: > /usr/bin/clamdscan --quiet ./ > > My permission listing: > > # ls -la /var/qmail/ | grep qscanq > drwxr-sr-t 5 root root 4096 May 1 12:49 qscanq/ > > # ls -la /var/qmail/qscanq/root/ | grep sc > drwx--S--- 2 qscan root 4096 May 1 12:49 scanq/ > > with qscanq user/group set as follows: > > qscanq user/group: qscan/qscan (src/conf-users line 1) > qscanq log user/group: qscanlog/qscan (src/conf-users line > 2) > qscanq user for /service: qclean (src/conf-groups line 1) > > Any pointers? >
Dale: I ran into the permissions problem on my second deployment. Not quite sure why the first try worked. Anyway, to get around it quickly, I configured clamav .70 --with-user=qscand --with-group=qscand. Netqmail-1.05 + qmail-scanner-1.21 + clamav-0.70 I run clamd under init rather than daemontools just because I haven't had the time to write a startup script. The box went into production immediately after the first successful test; not my choice, but I'm not the boss. ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users
