LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-06-2005, 11:55 PM   #1
boom_mike
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 [127.0.0.1] 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.
 
  


Reply


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 08:19 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
Postfix problem (also using Cyrus IMAP) newtommy Linux - Software 4 02-10-2005 02:40 PM
problem setting up cyrus imap.. mahamkali Linux - General 0 12-20-2004 09:30 PM
fc3 - cyrus imap problem ilovebytes Linux - Software 1 12-14-2004 05:34 AM


All times are GMT -5. The time now is 12:33 AM.

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