Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 am currently in the process of setting up a new Cyrus mailserver and running into quite a funny paradox. I am trying to use the auxprop pw_check mechanism to let Cyrus read /etc/sasldb2 for user authentication.

For some reason, when creating a new user, saslpasswd2 keeps appending my hostname to the username I am creating. This is in no way a problem, it only implies I will need to have my users login with

This is where the fun starts. When I try to authenticate via an IMAP client to my Cyrus server, Cyrus logs 'badlogin: [] plaintext pieter SASL(-13): user not found: checkpass failed'. Cyrus seems to strip off the part, as it is configured to be the default hostname.

This leaves me in the predicament of being unable to create users that can authenticate to Cyrus. Has anyone else faced this problem?

share|improve this question
I think @Steven's comment may help, but in case it doesn't could you update your post with the saslauthd commandline that is being used? – Daniel Lawson Jul 24 '11 at 6:22
Add Mailbox Documentation: # cyradm – Alexander Wiedergold Jul 13 '15 at 14:13

In you cyrus config set defaultdomain to be the same as your local hostname.

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.