tcpsvd and ipsvd-instruct
"M.S. Lucas" <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Organization | TAOS-IT |
| Message-ID | <045d01c438fb$33696b30$0301a8c0@lepus> |
Hello,
After reading http://smarden.org/ipsvd/ipsvd-instruct.5.html and
http://smarden.org/ipsvd/examples.html#tcp
I wanted to remove my existing tcpserver line from my mailfront server and
insert tcpsvd here.
--------
Old situation
in my /service/qmail-smtpd/run
QMAILDUID=`id -u qmaild`
NOFILESGID=`id -g qmaild`
exec /usr/local/bin/softlimit -m 4000000 \
/usr/local/bin/envdir /var/qmail/control/env \
/usr/local/bin/tcpserver -v -R -l "$LOCAL" -x /etc/tcp.smtp.cdb -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
/usr/local/bin/rblsmtpd \
-b -C \
-r bl.spamcop.net \
recordio /usr/local/bin/smtpfront-qmail 2>&1
--------
In the new situation the run file is
QMAILDUID=`id -nu qmaild`
NOFILESGID=`id -ng qmaild`
exec /usr/local/bin/softlimit -m 4000000 \
/usr/local/bin/envdir /var/qmail/control/env \
/usr/local/bin/tcpsvd -vv -u "$QMAILDUID":"$NOFILESGID" -c "$MAXSMTPD" -x
/var/qmail/control/peers.cdb 0 smtp \
/usr/local/bin/rblsmtpd \
-b -C \
-r bl.spamcop.net \
recordio /usr/local/bin/smtpfront-qmail 2>&1
with:
capella:/var/qmail/control# ls -al peers
total 5
drwxr-xr-x 2 root root 96 May 13 16:57 .
drwxr-xr-x 4 root qmail 432 May 13 16:48 ..
-r--r--r-- 1 root root 0 May 13 15:52 0
-rw-r--r-- 1 root root 61 May 13 16:57 127
# cat peers/127
+RELAYCLIENT=
C10:421 per host concurrency limit reached\r\n
smtpfront is started and in the logfile nothing is wrong.
But when I send a message the following is printed in my logfiles
@4000000040a38d8a277d469c tcpsvd: info: status 1/20
@4000000040a38d8a27814224 tcpsvd: info: pid 4198 from 127.0.0.1
@4000000040a38d8a289db28c tcpsvd: info: start 4198 localhost:127.0.0.1
::127.0.0.1:32930 /var/qmail/control/peers.cdb/127: +RELAYCLIENT=,C10:421
per host concurrency limit reached\r\n
@4000000040a38d8a28a8bac4 tcpsvd: info: end 4198 exit 111
@4000000040a38d8a28a8ca64 tcpsvd: info: status 0/20
and the connection is closed.
Complete removal of the peers/127 file doesn't help.
Where did I something wrong?
With kind regards,
Maurice Lucas
TAOS-IT