cyrus imap to alias against ldap

Igor Brezac igor at
Wed Sep 15 17:46:47 EDT 2004

On Tue, 14 Sep 2004, Base David wrote:

> Hi All,
> I have an LDAP directory where, say, attribute sAMAccountName has a
> value of  aaaa and attribute objectGUID has a value of bbbb.
> I've got solaris 9, sendmail 8.12.10, cyrus imap 2.2.6, cyrusv2 using
> lmtp successfully delivering mail addressed to aaaa to
> /var/spool/imap/user/bbbb created with cyradm.  The line in
> that does this is "define(`ALIAS_FILE', `ldap: -h -k
> sAMAccountName=%s -v objectGUID')dnl"
> I want user aaaa to use his sAMAccountName aaaa in his desktop mail
> client config, but I want imap to retrieve the mail from
> /var/spool/imap/user/bbbb.  I can create a symbolic link aaaa -> bbbb in
> Solaris, but I would really like imap to do aliasing against LDAP like
> sendmail does when it delivers.  So far I haven't found the answer.
> Any ideas?
> Dave Base
> p.s. imap uses cyrus sasl 2.1.15 with pam_ldap to authenticate against
> ldap.

I've done this with a custom canon plugin.  You can get more info in the 
doc directory in the cyrus sasl distribution.

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

More information about the Info-cyrus mailing list