Andrew Morgan wrote: > On Fri, 20 Apr 2007, JOYDEEP wrote: > >> Dear list, >> >> in my system sieve is not working. I check the user cyrus by imtest. >> the command is "imtest -a cyrus -u cyrus localhost -s" >> ----------------------------------------------------------- >> TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits) >> S: * OK lvps87-230-8-228.dedicated.hosteurope.de Cyrus IMAP4 v2.2.12 >> server ready >> C: C01 CAPABILITY >> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS >> NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND >> BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE >> AUTH=PLAIN AUTH=LOGIN SASL-IR X-NETSCAPE >> S: C01 OK Completed >> Please enter your password: >> C: A01 AUTHENTICATE PLAIN Y3lydXMAY3lydXMAbWFoYWRldg== >> S: A01 OK Success (tls protection) >> Authenticated. >> Security strength factor: 256 >> ------------------------------------------------------------------- >> >> now " sivtest -a cyrus localhost" reports >> ---------------------------------------------------- >> S: "IMPLEMENTATION" "Cyrus timsieved v2.2.12" >> S: "SASL" "PLAIN LOGIN" >> S: "SIEVE" "fileinto reject envelope vacation imapflags notify >> subaddress relational comparator-i;ascii-numeric regex" >> S: "STARTTLS" >> S: OK >> Please enter your password: >> C: AUTHENTICATE "PLAIN" {20+} >> AGN5cnVzAG1haGFkZXY= >> S: NO "Authentication Error" >> Authentication failed. generic failure >> Security strength factor: 0 >> ------------------------------------------------------ >> >> where may be the problem here ? >> >> >> Even "sieveshell localhost " is not working too. >> >> see below >> ------------------------ >> lvps87-230-8-228:~ # sieveshell localhost >> >> connecting to localhost >> Please enter your password: >> unable to connect to server at /usr/bin/sieveshell line 169, <STDIN> >> line 1. >> --------------------------------------------------- >> >> here is the log >> -------------------------------- >> Apr 19 09:15:23 lvps87-230-8-228 sieve[3675]: attempting server step >> after doneflag >> Apr 19 09:15:23 lvps87-230-8-228 sieve[3675]: badlogin: >> lvps87-230-8-228.dedicated.hosteurope.de[127.0.0.1] LOGIN generic >> failure >> Apr 19 09:15:23 lvps87-230-8-228 perl: No worthy mechs found >> Apr 19 09:15:23 lvps87-230-8-228 master[31987]: process 3675 exited, >> status 0 >> ----------------------------------- >> >> please note I have cyrus-sasl-plain and cyrus-sasl-Login module >> installed. > > Are you using saslauthd with the 'pam' mechanism? Did you copy > /etc/pam.d/imap to /etc/pam.d/sieve? > > Andy > > Yes Andy, I am using saslauthd with pam mechanism. below is the configuration of /etc/pam.d/sieve ------------------------------------------------------------ auth sufficient /lib/security/pam_ldap.so auth required /lib/security/pam_unix.so try_first_pass account sufficient /lib/security/pam_ldap.so account required /lib/security/pam_unix.so ----------------------------------------------------------------- please note I have the same configuration at /etc/pam.d/imap and imap is working well but not sieve :-( the version of cyrus is cyrus-imapd-2.2.12-5 thanks ---- Cyrus Home Page: http://cyrusimap.web.cmu.edu/ Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html