From owner-freebsd-isp Thu Sep 25 13:55:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA12773 for isp-outgoing; Thu, 25 Sep 1997 13:55:25 -0700 (PDT) Received: from server.amis.net (uucp@server.amis.net [193.77.234.34]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA12764; Thu, 25 Sep 1997 13:55:15 -0700 (PDT) Received: (from uucp@localhost) by server.amis.net (8.8.7/8.8.7) with UUCP id WAA23264; Thu, 25 Sep 1997 22:54:35 +0200 (CEST) Received: (from blaz@localhost) by gold.amis.net (8.8.7/8.8.5) id WAA02428; Thu, 25 Sep 1997 22:53:29 +0200 (CEST) From: Blaz Zupan Message-Id: <199709252053.WAA02428@gold.amis.net> Subject: Re: Cyrus IMAP Server - Can't log into server In-Reply-To: <199709251958.MAA09377@hub.freebsd.org> from "Scot W. Hetzel" at "Sep 25, 97 02:52:44 pm" To: hetzels@aol.com (Scot W. Hetzel) Date: Thu, 25 Sep 1997 22:53:28 +0200 (CEST) Cc: isp@FreeBSD.ORG, jfitz@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I have installed the Cyrus IMAP server, but it is not accepting passwords, > the server was rebooted and the pwcheck program is running. I was having the same problems. The trouble is, that pwcheck is started as root (from /usr/local/etc/rc.d/cyrus.sh) and creates its socket in /var/pwcheck as root so the imap server (which is running as user cyrus) cannot access it. I have changed /usr/local/etc/rc.d/cyrus.sh to be: if [ -x /usr/local/cyrus/bin/pwcheck ] then /usr/local/cyrus/bin/pwcheck & && sleep 2 && chown cyrus /var/pwcheck/pwcheck && echo -n ' pwcheck' fi and killed pwcheck and restarted it with "sh /usr/local/etc/rc.d/cyrus.sh" and now it works just perfectly. Actually I have hacked pwcheck so that it reads passwords from my private user database in addition to the password file, so that I don't clutter up my password file unnecesary with pop accounts. Oh, and this all assumes you have installed cyrus by using the FreeBSD ports collection. -- Blaz Zupan, blaz@amis.net, http://www.amis.net/staff/blaz Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia