LiuJinhui wrote: > > I have configure smtp-auth via PAM-ldap in my server. >So I think there is no problem with pam-ldap. > But when I configure my cyrus-imap to authorize via >PAM-ldap,I got the error in log: > > May 16 14:56:53 test1 imapd[22815]: unrecognized plaintext verifier PAM > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >my /etc/imap.conf > >configdirectory: /var/imap >defaultpartition: default >hashimapspool: yes >partition-default: /var/spool/imap >admins: root >servername: mail.net.dlut.edu.cn >allowplaintext:yes >allowanonymouslogin: no >quotawarn: 90 >defaultacl: anyone lrs >sievedir:/usr/sieve >sasl_pwcheck_method: PAM > > > > > LiuJinhui > [EMAIL PROTECTED] > 2002-05-16 > > > here is what I replied 4 days ago to someone else having problems with PAM authentification...
I've had similar problems with Cyrus 2.1.4 and PAM authentification. Here is how it works now: in imapd.conf: sasl_pwcheck_method: pwcheck (that requires the pwcheck daemon running) and to use cyradm: $ cyradm --user cyrus --auth plain localhost maybe you should try this... did you try to login using pop ? here is an example: mail:/ # telnet localhost pop3 Connected to localhost. Escape character is '^]'. +OK mailserver Cyrus POP3 v2.1.4 server ready <1669253611.1021282381@mailserver> user cyrus +OK Name is a valid mailbox pass mypassword -ERR [SYS/PERM] Unable to open maildrop quit +OK Connection closed by foreign host. mail:/ # This helped me to locate the errors source. Here there is an error because the user cyrus doesn't have an Imap mailbox, but there is no user/authentification error. Best regards, Alexandre Suter