From owner-freebsd-questions Sun Jan 21 21:44:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 56D3E37B404 for ; Sun, 21 Jan 2001 21:44:10 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 21 Jan 2001 21:42:19 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.0) id f0M5iAn69572; Sun, 21 Jan 2001 21:44:10 -0800 (PST) (envelope-from cjc) Date: Sun, 21 Jan 2001 21:44:04 -0800 From: "Crist J. Clark" To: Arcady Genkin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: stunnel configuration (-l option) Message-ID: <20010121214404.G10761@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: <874rys45pu.fsf@tea.thpoon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <874rys45pu.fsf@tea.thpoon.com>; from antipode@thpoon.com on Sun, Jan 21, 2001 at 10:37:49PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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