On Apr 26, 2006, at 11:38 AM, Chad Leigh -- Shire.Net LLC wrote:
I have my own custom schema for email that I have been using for
years with courier_imap and exim. I am experimenting with dovecot
and trying to set up my conf so that it logs in using the ldap
database.In the dovecot-ldap.conf there is a section
# Filter for user lookup. Some variables can be used (see # http://wiki.dovecot.org/Variables for full list): # %u - username # %n - user part in user@domain, same as %u if there's no domain # %d - domain part in user@domain, empty if user there's no domain #user_filter = (&(objectClass=posixAccount)(uid=%u))
In order to match my scheme I changed it to
user_filter = (&(objectClass=shireNetEmailaccount) (shireNetEmailAddress=%u))
should be
pass_filter
That solves that problem...
Chad
Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net