Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 1997 22:53:28 +0200 (CEST)
From:      Blaz Zupan <blaz@gold.amis.net>
To:        hetzels@aol.com (Scot W. Hetzel)
Cc:        isp@FreeBSD.ORG, jfitz@FreeBSD.ORG
Subject:   Re: Cyrus IMAP Server - Can't log into server
Message-ID:  <199709252053.WAA02428@gold.amis.net>
In-Reply-To: <199709251958.MAA09377@hub.freebsd.org> from "Scot W. Hetzel" at "Sep 25, 97 02:52:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709252053.WAA02428>