Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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/

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

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


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.