Re: smtpfront-qmail with sslio
Gerrit Pape <[email protected]>
| Newsgroups | gmane.comp.misc.pape.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Jan 09, 2005 at 02:19:37PM +0100, Eckard Mühlich wrote:
> I'm trying to setup smtpfront-qmail with runit, tcpsvd and sslio. Here's
> the run script I'm using:
>
> #!/bin/sh
> MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
> LOCAL=`head -1 /var/qmail/control/me`
>
> exec softlimit -m 2000000 \
> env RELAYCLIENT="" \
> ~ CVM_SASL_PLAIN=cvm-local:/tmp/.cvm-unix \
> ~ tcpsvd -v -l "$LOCAL" -c "$MAXSMTPD" 213.239.215.110 465 \
> ~ sslio -vv -u nobody -U qmaild -/ /etc/ssl/certs -C imapd.pem \
> ~ /usr/sbin/smtpfront-qmail 2>&1
>
> When I execute:
>
> debian:~# openssl s_client -connect 213.239.215.110:465 -crlf
>
> I get:
>
> CONNECTED(00000003)
> 14748:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake
> failure:s23_lib.c:226:
>
> and /var/log/smtpfront-qmail/current contains:
>
> @4000000041e151ce04b8ee54 tcpsvd: info: listening on
> 213.239.215.110:465, starting.
> @4000000041e1561033fe62fc tcpsvd: info: status 1/20
> @4000000041e1561033ff3204 tcpsvd: info: pid 14741 from 213.239.215.110
> @4000000041e1561033ffc674 tcpsvd: info: start 14741 0:213.239.215.110
> ::213.239.215.110:32832
> @4000000041e15610340e2a0c ]: fatal: unknown user/group: nobody
^^^
Here's something missing.
> @4000000041e156103410451c tcpsvd: info: end 14741 exit 100
> @4000000041e1561034104904 tcpsvd: info: status 0/20
Hmm, it works for me. You could try to raise the softlimit. If this
doesn't help, please try to strace the sslio process, it looks like
getpwnam() fails for some reason.
Regards, Gerrit.