In-reply-to: <cah8yc8mre7dek+x+alslyuy0t5vkwswiznr0qlbyjxaahdy...@mail.gmail.com> References: <897c4593eca5f214cddd3d8af000c...@easthope.ca> <cah8yc8mre7dek+x+alslyuy0t5vkwswiznr0qlbyjxaahdy...@mail.gmail.com>

Jeffrey & all,

Thanks for the replies.

    From: Jeffrey Walton <noloa...@gmail.com>
    Date: Sun, 23 Apr 2023 21:50:50 -0400
how quickly did you restart the service?

Aiming to have the stunnel tunnel available after cold boot.
Restarting shouldn't be necessary.  Correct?

Is the the socket in use because it is lingering?

From cold boot the socket should be available.  If command
stunnel is given interactively the socket is available.

Second, what does the stunnel.conf look like?

$ cat /etc/stunnel/stunnel.conf
; imager:/etc/stunnel/stunnel.conf
; Example SSL client mode services

[pop3]
client = yes
accept = localhost:110
;connect = hornby.islandhosting.com:995
connect = mail.easthope.ca:995

The man page says REUSEADDR=no is the default
(https://manpages.ubuntu.com/manpages/trusty/man8/stunnel4.8.html):

    socket = a:SO_REUSEADDR=no (enabled by default)

Not significant with cold boot.  Correct?

I appreciate the replies.  Currently I start stunnel after root login
with command "stunnel" in ~/.profile.  Relying on that until a better
answer surfaces.

Thx,                     ... P.

Reply via email to