Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-06-2005, 02:45 PM   #1
Registered: Feb 2005
Location: Baltimore, Maryland
Distribution: SuSE 9.2 Professional
Posts: 38

Rep: Reputation: 15
Cyrus Imap config problem - please help


I am a total newbie in the land of Linux and IMAP. I'm trying to configure Cyrus IMAP to run with Postfix on my Linux server, for eventual use with Squirrelmail. As such I'm getting the following error, I can't figure out how to fix (been searching the web for a long time now):

I try to execute the command:
cyradm --user cyrus localhost

the spam I get back is as follows: (after I enter the password I think I created for cyrus)

IMAP Password:
Login failed: generic failure at /usr/lib/perl5/vendor_perl/5.8.5/i586-linux-thread-multi/Cyrus/IMAP/ line 118
cyradm: cannot authenticate to server with as cyrus

My /etc/imapd.conf file looks like this:
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
sievedir: /var/lib/sieve
admins: cyrus root
allowanonymouslogin: no
autocreatequota: 15000
reject8bit: no
quotawarn: 90
timeout: 30
poptimeout: 10
dracinterval: 0
drachost: localhost
sasl_pwcheck_method: saslauthd
lmtp_overquota_perm_failure: no

I am using SuSE 9.2 professional. I installed Cyrus from the RPM build supplied by SuSE via YasT.

I have tried to create a password for Cyrus by:
/usr/sbin/saslpasswd2 -c cyrus
and then entering a password

also I have run:
passwd cyrus

I use the same password each time.

So if someone can help me I'm really really lost!!! Please help me if you can

Best Regards,
Old 02-06-2005, 09:08 PM   #2
Registered: Feb 2005
Location: Baltimore, Maryland
Distribution: SuSE 9.2 Professional
Posts: 38

Original Poster
Rep: Reputation: 15
Hi all -

Fixed my own problem --- In case anyone out there runs into this issue --

You have to be able to pass the login flag from -a pam to saslauthd --- i had 2 big problems causing my 'general error'

#1 saslauthd was NOT running
#2 need to call saslauthd with the -a pam option so command which fixed my problem:

saslauthd -a pam

Well there you go!!



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
postfix & cyrus IMAP config kernelvn Linux - Networking 0 07-10-2005 11:03 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
cyrus imap authentication problem boom_mike Linux - Software 0 03-06-2005 11:55 PM
Postfix problem (also using Cyrus IMAP) newtommy Linux - Software 4 02-10-2005 02:40 PM
fc3 - cyrus imap problem ilovebytes Linux - Software 1 12-14-2004 05:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:35 PM.

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