Hi,
I think You should change this:
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true 2>&1
to this:
sh -c 'test -z "$TCPREMOTEHOST" \
&& echo "451 bad reverse DNS" \
|| exec \
/var/qmail/bin/qmail-smtpd \
/home/vpopmail/bin/vchkpw /bin/true' 2>&1
Please notice that everything here is in ' '
The first is after sh -c
the last is before 2>&1
Check it out.
Regards,
Maciej
