[Dovecot] discrete passdb lookups for dovecot-auth

Timo Sirainen tss at iki.fi
Fri Jan 30 01:15:52 EET 2009


On Jan 28, 2009, at 8:35 AM, benjamin thielsen wrote:

>
> 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?

Yes, it's been planned for a long time. v1.3 has rewritten  
configuration handling which makes this easier to implement. But I'm  
not sure if v1.3 yet will support this, perhaps it'll have to wait  
until v2.0.


More information about the dovecot mailing list