Hello,
I am having some problems with the chkuser addon to my qmail install and
i was hoping someone could point me in the right direction.
Inbound mail is working fine and all local mails is working fine. But
outbound mails to accounts outside the box is resulting in a "553 sorry,
that domain isn't in my list of allowed rcpthosts (#5.7.1)"
My runfile for qmail-smtpd looks like this:
mail# cat /service/qmail-smtpd/run
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
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 30000000 \
/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 XXXX.YYYYYY.dk \
/usr/home/vpopmail/bin/vchkpw /usr/bin/true 2>&1
mail#
cat /etc/tcp.smtp
127.0.0.1:allow,RELAYCLIENT=""
192.168.1.:allow,RELAYCLIENT=""
:allow
The mail client i am trying from is in the 192.168.1.x range (and it
works without the chkuser so it is with this addon things go wrong.)
chkuser have been added manually and during the compile it stop if
dns.lib is included (dns.o(.text+0xd5c): first defined here *** Error
code 1 (google has no hits for this error soever - so please inlightn me
if i have missed something)).
In the install instructions it states:
"dns.lib is added to qmail-smtpd building instructions, so, if you have
previously patched qmail-smtpd in order to include dns.lib, take care to
delete the duplication from the previous lines."
It fails with the dns.lib - does that mean i have the dns.lib patch or
could it bee something else i haved missed?
I have a naked qmail install and the only patch i have applyed besides
the chkuser is latest jms patch (qmail-1.03-jms1.6cb.patch) running on
a FreeBSD 5.5-RELEASE
Help :)
Regards,
Dennis