Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a fresh installation of cyrus-imapd (2.3) on CentOS 5 with all these packages:

  • cyrus-imapd
  • cyrus-imapd-utils
  • cyrus-sasl
  • cyrus-sasl-plain
  • cyrus-sasl-md5

I have changed the password of user cyrus: passwd cyrus.

I am trying to log in to cyradm with cyradm -user cyrus localhost, but, when I enter my password, I get the following error message:

Login failed: generic failure at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Cyrus/IMAP/Admin.pm

I am afraid that I have the same problema that is explained in cyradm: cannot authenticate to server, but I am not able to solve it with the hints given by that guy.

How could I solve this issue and succesfully connect to my instance of cyrus-imapd and using cyradm?

share|improve this question
    
+1 for fighting with "generic failure" errors :) –  sysfault Mar 28 '11 at 11:26

1 Answer 1

The command passwd cyrus does not set the password for the cyrus user; unless you've setup sasl to use the local passwd file.

What is your cyrus config file? Specifically how have you configured sasl? The link you have mentioned sasldb. If you using sasldb, you should use saslpasswd2 to set the cyrus user password.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.