From owner-freebsd-stable@FreeBSD.ORG Mon Dec 28 20:56:52 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A30931065672 for ; Mon, 28 Dec 2009 20:56:52 +0000 (UTC) (envelope-from mloftis@wgops.com) Received: from juggler.wgops.com (juggler.wgops.com [204.11.247.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7D7FB8FC25 for ; Mon, 28 Dec 2009 20:56:52 +0000 (UTC) Received: by juggler.wgops.com (Postfix, from userid 65534) id 17571A81EB; Mon, 28 Dec 2009 13:56:52 -0700 (MST) X-Spam-ASN: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on juggler.wgops.com X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.2.5 Received: from [192.168.1.44] (host-72-174-39-176.msl-mt.client.bresnan.net [72.174.39.176]) by juggler.wgops.com (Postfix) with ESMTPSA id 073C0A81BF for ; Mon, 28 Dec 2009 13:56:49 -0700 (MST) Date: Mon, 28 Dec 2009 13:56:51 -0700 From: Michael Loftis To: freebsd-stable@freebsd.org Message-ID: <6F26CE94A7DFB7227B453A4F@[192.168.1.44]> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: clamav-milter 0.95.3 at juggler X-Virus-Status: Clean Subject: Re: Jailed Service contact IMAPS X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 20:56:52 -0000 --On Monday, December 28, 2009 3:43 PM -0500 Peter Fraser wrote: > Hi All > > I have two servers, one running apache and squirrelmail in a jail. > Squirrelmail on this server is trying to contact dovecot running imaps > on port 993 on another server and failing. When I try from another > physical machine it works but I would prefer to run this service from > within a jail. > > Can anyone please let me know how to make this work? Sounds like you have some sort of basic networking problem, a Jail in and of itself won't be blocked. I'd first check to see if you can get a connection from within the jail host server to the IMAPS port on the other machine. Use telnet or opennssl's s_client to see if you can get a connection open. I assume the dovecot server and jail have separate IPs? If so then try the same thing from within the jail. If both of those work then I'd check your PHP setup and make sure that you have the appropriate PHP modules installed, and that they support SSL.