Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-07-2005, 12:55 AM   #1
LQ Newbie
Registered: Mar 2005
Distribution: Mandrake 9.2
Posts: 2

Rep: Reputation: 0
cyrus imap authentication problem

Hi all, first of all I want to say that english is not my native language so forget please any mistakes I make, but anyway

I have upgraded my cyrus imap to version 2.2.12.
The problem is when I want to use "cyradm -u cyrus localhost" and I type password for cyrus user it gives me an error.

"badlogin: localhost.localdomain [] plaintext cyrus SASL(-1): generic failure: checkpass failed"

I use saslauthd for authentication mechanism. When I use "testsaslauthd -u cyrus -p password" it returns with success, so it means authentication works

When I go back to my old cyrus version which has been configured exactly like the new one everything works just fine.

this is the configure file I use for cyrus

export CPPFLAGS="-I/usr/include/et"

./configure \
--with-sasl=/usr/local/lib \
--with-perl \
--with-auth=unix \
--with-dbdir=/usr/local/bdb \
--with-bdb-libdir=/usr/local/bdb/lib \
--with-bdb-incdir=/usr/local/bdb/include \
--without-openssl \

this is imapd.conf file

postmaster: postmaster
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: cyrus # no admins!
allowanonymouslogin: no
allowplaintext: yes
sasl_mech_list: PLAIN
servername: boombox
autocreatequota: 10000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
sievedir: /usr/sieve
sendmail: /usr/sbin/sendmail
sieve_maxscriptsize: 32
sieve_maxscripts: 5
#unixhierarchysep: yes
#admins: cyrus

no matter wich mechanism I choose for saslauthd demon ( pam, shadow ), testing gives me OK result for the cyrus user.

Please help I do not know what could cause the problems.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cyrus Imap authentication problem on RedHat Linux 8.0 vijay_ratnakaran Linux - Software 0 08-29-2005 09:19 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 08:01 PM
Postfix problem (also using Cyrus IMAP) newtommy Linux - Software 4 02-10-2005 03:40 PM
problem setting up cyrus imap.. mahamkali Linux - General 0 12-20-2004 10:30 PM
fc3 - cyrus imap problem ilovebytes Linux - Software 1 12-14-2004 06:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration