Hi-
I'm having trouble getting Q-S called from anything other than the test_installation script.
I'm running * qmail-scanner : 1.24 * ucspi-tcp: 0.88-r9 * qmail: 1.03-r13 * clamav: 0.81 * vpopmail: 5.4.6-r1 * gentoo linux
/******** test_installation.sh *************/ I ran ./test_installation.sh -doit as root: and email 1,3,4 worked as expected. email 1 came through as normal. * emali 2 was simply not blocked. email 3 was blocked. email 4 had X-spam tags in the header
When I send mail from the mail server(ie mutt) or from a the internet Q-S doesn't seem to get called.
Mail from anything other than than ./test_installation.sh doesn't show up in
/var/spool/qmailscan/qmail-queue.log or /var/log/mail/current. Mail from the test script does show
up in both logs.
/******** tcp rules *************/
Here are my tcp rules:
hawk etc # cat /etc/tcprules.d/tcp.qmail-smtp | sed -e "/^#/d" | sed -e "/^\s*$/d"
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="" 192.168.1.10:allow,RELAYCLIENT="",RBLSMTPD="" :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
Don't know that I really need /etc/tcp.smtp but I made sure the contents were the same anyway.
hawk etc # cat /etc/tcp.smtp | sed -e "/^#/d" | sed -e "/^\s*$/d"
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="" 192.168.1.10:allow,RELAYCLIENT="",RBLSMTPD="" :allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
Ran this to update tcp.qmail.smtp:
hawk tmp # cd /etc/tcprules.d/
hawk tcprules.d # tcprules tcp.qmail-smtp.cdb tcp.qmail-smtp.tmp < tcp.qmail-smtp
/******** vpopmail and the Q-S FAQ *************/
In the Q-S FAQ there was a note about problems with vpopmail. I added the following line to /service/qmail-smtpd/run
just to see if it made any difference, but it didn't seem to.
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
/******** Permissions *************/
I thought that maybe it was a permissions problem so I did the following:
chown -R qscand.qscand /var/lib/clamav chown qscand.qscand /var/log/clam-update.log chown qscand.qscand /var/log/*clamd*.log chown -R qscand.qscand /usr/share/clamav
But still no response from Q-S.
Any ideas on how to debug this would be greatly appreciated.
Cheers,
David Sperling
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general