From owner-freebsd-ports Mon Jan 7 1:48:51 2002 Delivered-To: freebsd-ports@freebsd.org Received: from jupiter.strijp.Ehv.nl (d9229.upc-d.chello.nl [213.46.9.229]) by hub.freebsd.org (Postfix) with ESMTP id 992E137B41A for ; Mon, 7 Jan 2002 01:48:46 -0800 (PST) Received: from jupiter.strijp.Ehv.nl (IDENT:501@localhost [127.0.0.1]) by jupiter.strijp.Ehv.nl (8.12.1/8.12.1) with ESMTP id g079mcvr001325; Mon, 7 Jan 2002 10:48:38 +0100 Received: (from rvdberg@localhost) by jupiter.strijp.Ehv.nl (8.12.1/8.12.1/Submit) id g079mc0S001324; Mon, 7 Jan 2002 10:48:38 +0100 Date: Mon, 7 Jan 2002 10:48:37 +0100 From: Remco van den Berg To: mrsam@courier-mta.com Cc: ports@FreeBSD.org Subject: found bug in courier-imap Message-ID: <20020107094837.GA926@jupiter.strijp.Ehv.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Sam, I possibly found a bug in your courier-imap software. I was trying to authenticate using a MySQL database which only had a socket connection and no tcp/ip connection. I finally managed to solve the bug by this patch: *** authmysqllib.c Fri Jan 4 20:56:56 2002 --- authmysqllib.c.orig Fri Jan 4 20:55:14 2002 *************** *** 133,141 **** server_opt=(unsigned int) atol(p); } ! if (!server && !server_socket) { ! fprintf(stderr, "authmysql: MYSQL_SERVER and MYSQL_SOCKET not set in " AUTHMYSQLRC ".\n"); return (-1); } --- 133,141 ---- server_opt=(unsigned int) atol(p); } ! if (!server) { ! fprintf(stderr, "authmysql: MYSQL_SERVER not set in " AUTHMYSQLRC ".\n"); return (-1); } I didn't investigate if this is all. There could be more things which have to be changed. But you are better capable of handling that I suppose. Regards, -Remco -- ---------------------------------------------------------------------------- Remco van den Berg Admin/Redactie/helpdesk DSE http://www.dse.nl/rvdberg/ GSX750F http://www.dse.nl/ ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message