[Dovecot] ldap and user_filter

Chad Leigh -- Shire.Net LLC chad at shire.net
Wed Apr 26 21:00:10 EEST 2006


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 at domain, same as %u if there's no domain
> #   %d - domain part in user at 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





More information about the dovecot mailing list