From owner-freebsd-questions Sat Jan 15 19: 4:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cc942873-a.ewndsr1.nj.home.com (cc942873-a.ewndsr1.nj.home.com [24.2.89.207]) by hub.freebsd.org (Postfix) with ESMTP id 5E20814F77 for ; Sat, 15 Jan 2000 19:04:20 -0800 (PST) (envelope-from cjc@cc942873-a.ewndsr1.nj.home.com) Received: (from cjc@localhost) by cc942873-a.ewndsr1.nj.home.com (8.9.3/8.9.3) id WAA53820; Sat, 15 Jan 2000 22:08:21 -0500 (EST) (envelope-from cjc) From: "Crist J. Clark" Message-Id: <200001160308.WAA53820@cc942873-a.ewndsr1.nj.home.com> Subject: stunnel Works in Foreground, Not in BG To: stunnel-users@mike.daewoo.com.pl, freebsd-questions@FreeBSD.ORG (FreeBSD Questions) Date: Sat, 15 Jan 2000 22:08:21 -0500 (EST) Reply-To: cjclark@home.com X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having an odd problem with stunnel. I have just installed in on a FreeBSD 2.2.8 machine. For testing, I am doing an IMAP connection. It seems to work fine if I run stunnel in the foreground, # /usr/local/sbin/stunnel -f -d 993 -l /usr/local/libexec/imapd imapd LOG5[23152:0]: stunnel 3.4a on i386--freebsd2.2.8 FORK LOG5[23154:0]: imapd connected from 24.2.89.207:2775 ^C I can connect to the server and access everything fine. But if I run it in the background, I get these in my server's syslog, Jan 15 21:37:20 newmail stunnel[23141]: stunnel 3.4a on i386--freebsd2.2.8 FORK Jan 15 21:37:35 newmail stunnel[23146]: imapd connected from 24.2.89.207:2772 Jan 15 21:37:37 newmail stunnel[23146]: Connection closed: 56 bytes sent to SSL, 0 bytes sent to socket And the IMAP client reports the server disconnected. Only difference that I can tell is running in background versus foreground... but why should that change things? Thanks. -- Crist J. Clark cjclark@home.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message