LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-06-2005, 02:45 PM   #1
newtommy
Member
 
Registered: Feb 2005
Location: Baltimore, Maryland
Distribution: SuSE 9.2 Professional
Posts: 38

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


Hi,

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/Admin.pm 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,
Tommy
 
Old 02-06-2005, 09:08 PM   #2
newtommy
Member
 
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!!

THanks!
 
  


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
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


All times are GMT -5. The time now is 06:58 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