Saslauthd ldap and virtual domains

Martin Wheldon martin.wheldon at
Wed Jun 9 10:47:13 EDT 2004


	I'm currently running cyrus-sasl 2.1.17, cyrus-imap 2.2.3, openldap
2.2.4 which was working fine and still is for a single domain.

	Now I've added a second domain I have it a authentication problem.
My mailboxes are named as follows:-

mwheldon at

The problem shows its self if the passwords for both accounts are different.

Attempting to login to mailbox mwheldon works fine. Attempting to login to
mailbox mwheldon at fails.

If passwords for both mailboxes are identical you login OK.

What seems to be happening is that SASL is stripping the domain from the

Here are my configs.


ldap_servers: ldap://localhost/
ldap_version: 3
ldap_search_base: dc=yhgfl-demo, dc=net
ldap_verbose: on
ldap_debug: 3
ldap_filter: uid=%u
ldap_auth_method: bind


configdirectory: /usr/local/etc/cyrus
partition-default: /var/spool/cyrus
admins: cyrus mail-admin at mail-admin at
srvtab: /usr/local/certs
allowanonymouslogin: no
allowplaintext: yes
sasl_pwcheck_method: saslauthd
sasl_ldap_servers: localhost
unixhierarchysep: yes
virtdomains: userid

Hope someone can help.
Thanks in advance

Martin Wheldon

Cyrus Home Page:
Cyrus Wiki/FAQ:
List Archives/Info:

More information about the Info-cyrus mailing list