Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2001 21:44:04 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        Arcady Genkin <antipode@thpoon.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: stunnel configuration (-l option)
Message-ID:  <20010121214404.G10761@rfx-216-196-73-168.users.reflex>
In-Reply-To: <874rys45pu.fsf@tea.thpoon.com>; from antipode@thpoon.com on Sun, Jan 21, 2001 at 10:37:49PM -0500
References:  <874rys45pu.fsf@tea.thpoon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 21, 2001 at 10:37:49PM -0500, Arcady Genkin wrote:
> Trying to wrap stunnel around UW imapd server, I'm launching stunnel
> with "-l /usr/local/libexec/imapd" option.  This works fine, but only
> for one connection.  If a second client tries to connect, the server
> does not respond, and the first connection is hung.
> 
> I changed the -l option to "-r localhost:imap", and it works fine for
> multiple connections.  But this requires the connections to go through
> inetd as well, and I was hoping to get rid of that necessity.  Is that
> possible?
> 
> I tried "-L" option instead of "-l", but my imap client got upset at
> the results. ;^)

  # stunnel -d 993 -l /usr/local/libexec/imapd -- imapd

Doesn't work? Once someone connects, a separate stunnel should fork
leaving the listener bound on 993/tcp.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010121214404.G10761>