If I am using the wrapper do I call the wrapper from the tcp.smtp file like this:
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
or do I call the perl script directly?
What does the /service/smtpd/run file look like when you use it to call Q-S instead of the tcp.smtp file?
What are the permissions suppose to be if I use the wrapper?
I seem to be having a permissions problem. I have ran ./contrib/test_installation.sh successfully and it passed all the tests.
Here are the details of my installation: OS-OpenBSD 3.2 Packages Installed: qmail-1.03-With ext_todo,qmailqueue qmail-scanner-1.16 vpopmail-5.2.1- With Seekable Patch Mail-SpamAssassin-2.55 clamav-0.54 maildrop-1.5.2
/var/qmail/bin -rwx-----x 1 qmailq qmail 25312 Jun 27 11:09 qmail-scanner-queue -rwxr-xr-x 1 qmailq qmail 60101 Jun 27 11:10 qmail-scanner-queue.pl
/var/spool/qmailscan/
-rw------- 1 qmailq qmail 32518 Jul 3 13:51 qmail-queue.log
-rw-rw-r-- 1 qmailq qmail 36 Jul 3 13:51 qmail-scanner-queue-version.txt
drwxrwx--- 5 qmailq qmail 512 Jun 27 10:53 quarantine
-rw-r----- 1 root qmail 32768 Jul 2 11:54 quarantine-attachments.db
-rw-r----- 1 qmailq qmail 4277 Jun 27 10:53 quarantine-attachments.txt
-rw-rw---- 1 qmailq qmail 313 Jul 2 08:34 quarantine.log
lrwxrwx--- 1 root wheel 31 Jun 27 10:53 viruses -> /var/spool/qmailscan/quarantine
lrwxrwx--- 1 root wheel 35 Jun 27 10:53 viruses.log -> /var/spool/qmailscan/quarantine.log
drwxrwx--- 5 qmailq qmail 512 Jun 27 10:53 working
/service/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
LOCAL=`head -1 /var/qmail/control/me`
if [ -z "$QMAILDUID" -o -z "$NOFILESGID" -o -z "$MAXSMTPD" -o -z "$LOCAL" ]; then
echo QMAILDUID, NOFILESGID, MAXSMTPD, or LOCAL is unset in
echo /var/qmail/supervise/qmail-smtpd/run
exit 1
fi
exec /usr/local/bin/softlimit -m 10000000 \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c "$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
/var/log/qmail/smtpd
@400000003f056a180ca655ac tcpserver: status: 1/20
@400000003f056a180cad00b4 tcpserver: pid 24819 from 64.244.29.32
@400000003f056a1817d9c814 tcpserver: ok 24819 qmail1.cornerstonens.com:192.168.3.25:25 e2unity2.didax.com:64.244.29
.32::2807
@400000003f056a1e00be067c X-Qmail-Scanner-1.16:[qmail1.cornerstonens.com105731944442627322] cannot open /var/spool/
qmailscan/qmail-scanner-queue-version.txt - did you initialise the system by running "qmail-scanner-queue.pl -z"? -
Permission denied
@400000003f056a1e00e827a4 rm: /var/spool/qmailscan/qmail1.cornerstonens.com105731944442627322: Permission denied
@400000003f056a1e00ec1774 rm: /var/spool/qmailscan/working/new/qmail1.cornerstonens.com105731944442627322: Permissi
on denied
/var/spool/qmailscan/[EMAIL PROTECTED] tcpserver: end 24819 status 256
/var/spool/qmailscan/qmail-queue.log <Nothing besides the successful test info>
su qmaild -c "/var/qmail/bin/qmail-scanner-queue.pl -g"
perlscanner: generate new DB file from /var/spool/qmailscan/quarantine-attachments.txt
X-Qmail-Scanner-1.16:[] cannot open for write /var/spool/qmailscan/quarantine-attachments.db.tmp - Permission denied
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general