On Fri, 15 Mar 2002, Eric Doutreleau wrote: Well i just discovered my mistake
i should have launch sieveshell with the -u option > > hi > > I have problem with authentification with sieveshell > > Here is my configuration > linux redhat-7.2 > cyrus-imapd-2.0.16 > cyrus-sasl-1.5.24 > openldap-2.0.21 > nss_ldap-172 ( from redhat which contains pam-ldap) > > I have configured the imapd server to use pam and pam to > use ldap for authentification. > > Here is my imapd.conf file > configdirectory: /var/imap > partition-default: /var/spool/imap > admins: cyrus > allowanonymouslogin: no > > # To use the PAM for authentication (but not /etc/passwd or shadow), > change > # the following line to specify "pam" instead of "sasldb". > sasl_pwcheck_method: pam > > sievedir: /var/sieve > sieveusehomedir: no > > sendmail: /usr/sbin/sendmail > sasl_mech_list: PLAIN > > Here is my /usr/lib/sasl/Cyrus.conf file > pwcheck_method:pam > sasl_mech_list: PLAIN > > > when i launch imtest > imtest -u doutrele -a doutrele localhost > C: C01 CAPABILITY > S: * OK molure2.int-evry.fr Cyrus IMAP4 v2.0.16 server ready > S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID > NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT > THREAD=REFERENCES IDLE X-NETSCAPE > S: C01 OK Completed > C: L01 LOGIN doutrele {8} > + go ahead > C: <omitted> > L01 OK User logged in > Authenticated. > Security strength factor: 0 > > And it work quite well > > But when i use sieveshell i got the error > sieveshell -a doutrele -r PLAIN molure2 > connecting to molure2 > Please enter your password: > unable to connect to server: Authentication error at /usr/bin/sieveshell > line 149, <STDIN> line 1. > > When i telnet to the port 2000 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > "IMPLEMENTATION" "Cyrus timsieved v1.0.0" > "SASL" "PLAIN LOGIN" > "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress > regex" > OK > > > I have seen through the mailling that people had the same problem as me > but i never see someone who find the solution > > > Thanks in advance for any help > > -- Eric Doutreleau I.N.T | Tel : +33 (0) 160764687 9 rue Charles Fourier | Fax : +33 (0) 160764321 91011 Evry France | email : [EMAIL PROTECTED]