[stunnel-users] accept is not allowed in inetd mode

vonom vonom at intertel.net.pl
Wed Aug 23 01:58:31 CEST 2006


Hello

When i try to run stunnel by scripts or by hand stunnel
/etc/stunnel/stunnel.conf (or other config) i see something like that:
-bash-3.1# stunnel /etc/stunnel/pop3s.conf
2006.08.23 01:45:17 LOG7[24189:3083933376]: RAND_status claims sufficient
entropy for the PRNG
2006.08.23 01:45:17 LOG6[24189:3083933376]: PRNG seeded successfully
2006.08.23 01:45:17 LOG7[24189:3083933376]: Certificate:
/etc/stunnel/host-cert.pem
2006.08.23 01:45:17 LOG7[24189:3083933376]: Key file:
/etc/stunnel/host-key.pem
2006.08.23 01:45:17 LOG7[24189:3083933376]: SSL context initialized for
service stunnel
file /etc/stunnel/pop3s.conf line 64: accept is not allowed in inetd mode

No stunnel sesion, open ports or anything.

I was very happy when I find out that I have stunnel-inetd-4.15-1 in my
disto and it runs and ports are open.

Everything great but when i try to send or receive email (postfix) it dont
work.


I spend a lot of time and a while ago i write telnet localhost 465 (or
995), ehlo hostname and see:
-bash-3.1# telnet localhost 465
Trying 127.0.0.1.465...
Connected to localhost.
Escape character is '^]'.
2006.08.23 01:56:20 LOG7[24343:3083708096]: RAND_status claims sufficient
entropy for the PRNG
2006.08.23 01:56:20 LOG6[24343:3083708096]: PRNG seeded successfully
2006.08.23 01:56:20 LOG7[24343:3083708096]: Certificate:
/etc/stunnel/host-cert.pem
2006.08.23 01:56:20 LOG7[24343:3083708096]: Key file:
/etc/stunnel/host-key.pem
2006.08.23 01:56:20 LOG7[24343:3083708096]: SSL context initialized for
service stunnel
file /etc/stunnel/smtps.conf line 64: accept is not allowed in inetd mode
Connection closed by foreign host.

When I write telnet localhost 25
-bash-3.1# telnet localhost 25
Trying 127.0.0.1.25...
Connected to localhost.
Escape character is '^]'.
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250 8BITMIME

So It's OK I think.


file /etc/stunnel/smtps.conf line 64: accept is not allowed in inetd mode
Connection closed by foreign host. -line 64 point just last line of config
file.


I have no idea what it could be. Anyone know how to fix that?





More information about the stunnel-users mailing list