>> >> 2. qmail-smtpd does not care about /etc/tcprules/smtp.cdb. I cannot
>> >> send mails localy via smtp, because the smtp does not relay. I put

>What does your tcpserver invocation look like?
>
>tcpserver does not arbitrarily ignore your rules. If it appears that way in
>your case, then you're doing something wrong. If you don't tell us what you are
>doing, it'll be impossible for anyone to discover what that is.

I'm using Bruce Guenters RPM and didn't change anything. And the
startup script seems okay. I copied the smtp.cdb from another (working)
machine to to this machine, but it also didn't work. I'm very sure the
smtp.cdb file is correct, but I have no idea why it is not relaying
from 127.0.0.1.

/etc/service/smtp/run:

#!/bin/sh
. /usr/lib/qmail/run-functions

# [...]

# Start daemons.
uid="`id -u qmaild`"
gid="`id -g qmaild`"
readdefault concurrency concurrencysmtpd 20
do_ulimits

exec tcpserver -u "$uid" -g "$gid" -c "$concurrency" -v \
        -x /etc/tcpcontrol/smtp.cdb 0 smtp $rbl \
        qmail-pipe fixcr -- qmail-smtpd


Reply via email to