On Jan 27, 2009, at 13.21, Timo Sirainen wrote:
On Tue, 2009-01-27 at 11:54 -0500, benjamin thielsen wrote:
hi-
i'm using ldap for user authentication, and would like to use different ldap lookups for authentication happening via postfix (smtp auth) vs. authentication happening through dovecot (imap logins).
how can this be done, without running multiple instances?Unfortunately currently you can't. The best you can do is to use %s in the ldap filters or base, but that probably won't be enough for you.
thanks for the confirmation. has this been considered? in my
particular case, we have users who can receive and retrieve mail, but
not send mail, defined by the groups they belong to in our directory
tree. would the ability to define discrete lookups (based on the
service? - maybe other criteria as well?) also be useful in other
scenarios?
regards -ben