hi

 are u running clamdscan with the same user as qscanq?

Milind 

Thanks & Regards

Milind


>>> Karolis Dautartas <[EMAIL PROTECTED]> 11/4/2004 3:53:57 PM >>>
hello,

The trouble is related to qscanq, but I am afraid that qscanq list is
not a
very active one, so I decided to post it to the "closest" list I could
think of :)

I have been trying to install qscanq and I always hit the same
problem:

451 mail server temporarily rejected message (#4.3.0)

My installation of qmail is as follows:

qmail with qmail-ldap patch with qmail-ldap-control patch.
Which aparently includes QMAILQUEUE patch. Qmail without qscanq is
working just fine.

I have installed ripmime and clam antivirus.

While installing qscanq, I have followed the instructions on this
page:
http://mysite.verizon.net/vze1ypud/software/qscanq/install.html 

Daemontools is installed.
/service and /package directories do exist and appear to be working
fine.

I have verified the src/conf-* files.
The only change I had to make was conf-scancmd:
/usr/local/bin/clamdscan --quiet ./

path to clamdscan is correct. Clamd is started. Path to ripmime is
also correct. Clamd appears to be working fine when run from the
shell.

users Gqscanq, Gqscanlog and group Gqscanq were created exactly as per
instructions. I am using Fedora so I had to capitalize the users in
/etc/passwd and /etc/shadow, as well as group in /etc/group

./package/install does not complain about anything.

./package/rts gives no output

I have run ./command/install-wrap, and did not modify tcp.smtp
(not sure if this is the right thing to do with QMAILQUEUE patch)

I have increased softlimit to 200M. Startup / shutdown scripts are
taken from "Life with Qmail" site.
Here is my /var/qmail/supervise/qmail-smtpd/run script:

#!/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

if [ ! -f /var/qmail/control/rcpthosts ]; then
    echo "No /var/qmail/control/rcpthosts!"
    echo "Refusing to start SMTP listener because it'll create an open
relay"
    exit 1
fi

exec /usr/local/bin/softlimit -m 200000000 \
    /usr/local/bin/tcpserver -v -H -R -P -l 0 -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
        -u "$QMAILDUID" -g "$NOFILESGID" 0 25
/var/qmail/bin/qmail-smtpd 2>&1



I am not sure how to debug this error, any help would be appreciated.

thanks,
Karolis



Reply via email to