From owner-freebsd-ports@FreeBSD.ORG Tue Jul 27 09:27:10 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4962F16A4CE for ; Tue, 27 Jul 2004 09:27:10 +0000 (GMT) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D2D343D2D for ; Tue, 27 Jul 2004 09:27:09 +0000 (GMT) (envelope-from karelj@kayjay.xs4all.nl) Received: from kayjay.xs4all.nl (localhost.kayjay.xs4all.nl [127.0.0.1]) by kayjay.xs4all.nl (8.12.11/8.12.11) with ESMTP id i6R9R6ld058550 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Tue, 27 Jul 2004 11:27:07 +0200 (CEST) (envelope-from karelj@kayjay.xs4all.nl) Received: (from karelj@localhost) by kayjay.xs4all.nl (8.12.11/8.12.11/Submit) id i6R9R6va058549; Tue, 27 Jul 2004 11:27:06 +0200 (CEST) (envelope-from karelj) Date: Tue, 27 Jul 2004 11:27:06 +0200 From: "Karel J. Bosschaart" To: Josh Tolbert Message-ID: <20040727092706.GA58522@kayjay.xs4all.nl> References: <20040726210611.GA75881@just.puresimplicity.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040726210611.GA75881@just.puresimplicity.net> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org Subject: Re: Squirrelmail and php4 ports shake-up? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jul 2004 09:27:10 -0000 On Mon, Jul 26, 2004 at 04:06:11PM -0500, Josh Tolbert wrote: > Hello, > > After upgrading mod_php4 (using portupgrade) and installing > lang/ph4-extensions (after learning of the php4 ports shake-up in > /usr/ports/UPDATING), mail/squirrelmail now refuses to play nice with IMAP > over SSL. I haven't tried plain IMAP, cause I haven't built IMAP to allow > plain-text connections. > > The errors I see from squirrelmail appear after entering a login and password > are: > > Warning: fsockopen(): no SSL support in this build in > /usr/local/www/squirrelmail/functions/imap_general.php on line 445 > > Warning: fsockopen(): unable to connect to localhost:993 in > /usr/local/www/squirrelmail/functions/imap_general.php on line 445 > > and I'm not able to check/read/send mail. > > I've tried the "obvious" things: rebuilt squirrelmail, checked the php > requirements of squirrelmail, did a bit of searching, etc., but I can't find a > fix for this problem. > > All the modules built by lang/php4-extensions are being loaded in > /usr/local/etc/php.ini, a phpinfo() > () shows information for > the features I had requested to be built by lang/php4-extensions, but > squirrelmail and the extensions don't play nice together. > > Does anyone know how to fix this? It worked great before the php4 ports > shake-up. The only reason I upgraded was to take care of the potential > security vulnerability that portaudit listed for php; if I had known this was > going to happen I would have held off a bit. Adding "--with-openssl=/usr/local" in the lang/php4 port Makefile under "CONFIGURE_ARGS" fixed it for me. Karel.