Hi all

I am trying to use qmail-scanner with qmail, and have recompiled with
the QMAILQUEUE patch. My qmail/supervise/qmail-smtpd/run file looks
like:

#!/bin/sh
QMAILDUID=`id -i qmaild`
NOFILESGID=`id -g qmaild`
QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl" export QMAILQUEUE

exec /usr/bin/softlimit -m 2000000 \
        /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
        -u $QMAILDUID -g $NOFILESGID 0 smtp \
        /var/qmail/bin/qmail-smtpd 2>&1

When I try sending mail to/through this server, I get this error:

451 qq temporary problem

And the message fails. I have installed qmail-scanner as per the
readme, and qmail-queue as per normal (patch -p0 < qmailqueue.patch).

qmail-scanner-queue.pl is suid root, and I can run it fine when I am
logged in as qmailq. If I comment the QMAILQUEUE variable out of my
run file, all works as normal.

Does anybody know where this problem occurs and how I can fix it?

TIA

Brett.
-- 
"At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it on the
computer.

- Anonymous 

Reply via email to