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'm not finding anything that indicates it doesn't; I need to be able to authenticate virtual users. If not do I need to start using dovecot?

share|improve this question
I'm glad to see that you researched this beforehand, but I'm pretty sure that SF will tell you the same that Google tells you. Just a heads up. Btw - dovecot is great :) – pauska Jan 14 '12 at 2:32
I'll give dovecot a shot; thanks. – jersten Jan 14 '12 at 4:04
Are you refering to "userdb" as the Dovecot or Courier IMAP specific feature or do you just want to run Cyrus with virtual users and need SASL to authenticate against some sort of user database? – the-wabbit Jan 14 '12 at 22:43
up vote 1 down vote accepted

Yes, it does.

For example, to use ldap as an authentication mechanism, I start saslauthd like this:

/usr/sbin/saslauthd -m /var/run/saslauthd -a ldap -O /etc/saslauthd.conf

and here's content of /etc/saslauthd.conf:

ldap_servers: ldap://
ldap_version: 3
ldap_search_base: dc=domain,dc=vn
ldap_scope: sub
ldap_uidattr: cn
ldap_filter: cn=%u
ldap_auth_method: bind
ldap_bind_dn: cn=binder,ou=it,dc=domain,dc=vn
ldap_bind_pw: pa$$w0rd
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.