From owner-freebsd-isp Sat Feb 9 18:13:18 2002 Delivered-To: freebsd-isp@freebsd.org Received: from smtprelay6.dc2.adelphia.net (smtprelay6.dc2.adelphia.net [64.8.50.38]) by hub.freebsd.org (Postfix) with ESMTP id C64D237B404 for ; Sat, 9 Feb 2002 18:13:14 -0800 (PST) Received: from speedy ([63.112.205.60]) by smtprelay6.dc2.adelphia.net (Netscape Messaging Server 4.15 smtprelay6 Dec 7 2001 09:58:59) with SMTP id GRAOU100.K5B; Sat, 9 Feb 2002 21:13:13 -0500 Message-ID: <00ee01c1b1d8$7f9a1060$0400a8c0@speedy> From: "Sid Lambert" To: "Scot W. Hetzel" , References: <003701c1b10a$afaaa4f0$0400a8c0@speedy> <00ba01c1b111$fc70dd20$11fd2fd8@westbend.net> <005a01c1b113$1f53dfd0$0400a8c0@speedy> <01c701c1b1cc$6f8338c0$11fd2fd8@westbend.net> Subject: Re: Cyrus imapd Date: Sat, 9 Feb 2002 21:13:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org That was it, thank you. Was this documented anywhere? Sid Lambert ----- Original Message ----- From: "Scot W. Hetzel" To: "Sid Lambert" ; Sent: Saturday, February 09, 2002 7:46 PM Subject: Re: Cyrus imapd > From: "Sid Lambert" > > > > I am trying to setup Cyrus with imap and pop3 on a new 4.5-Stable box, > I > > > get > > > > this error via syslogd. > > > > > > > > > Feb 8 20:39:29 mail pop3d[18497]: badlogin: Host[ip] plaintext user > > > > Incorrect password > > > > > > > > I can't auth users but I can login and use the cyradm with the cyrus > > user. > > > > > > > > > I am using sasl_pwcheck_method: pwcheck in imapd.conf > > > > > > > > I have checked to make sure Kerberos is commented out of pam.conf > > > > > > The default pwcheck daemon doesn't use PAM for authentication. Are your > users in another database or are they in the system password file? > > If you need to use PAM to authenticate your users you need to run the > pwcheck_pam daemon. With the latest version of Cyrus-SASL port do the > following: > > 1. Stop pwcheck with: > /usr/local/etc/rc.d/pwcheck.sh stop > > 2. Add to /etc/rc.conf: > sasl_pwcheck_program="/usr/local/sbin/pwcheck_pam" > > 3. Start pwcheck_pam: > /usr/local/etc/rc.d/pwcheck.sh start That was it, thank you. Was this documented anywhere? > > > > >Can anyone point me in the right direction? > > > > > > > Check if the pwcheck dameon is running: > > > > > > ps -ax | grep pwcheck > > > > It is running, should it switch to the cyrus user after it is started? > > > > ps -awux | grep pwcheck > > root 18690 0.0 0.1 980 484 ?? Ss 9:50PM 0:00.00 > > /usr/local/sbin/pwcheck > > > No, it needs to run as root in order to read the /etc/passwd file when > authenticating users. > > Scot > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message