disable imap for ldap user

Ralph Seichter m16+dovecot at monksofcool.net
Fri Sep 8 18:59:51 EEST 2017


On 08.09.2017 17:11, Markus Rosjat wrote:

> I have a LDAP dir with an attribute set to 0 or 1 and in my old setup
> (a courier server) I used this attribute to map it to an authoption
> called disableimap. This prevent users to access the mailbox with imap
> protocol.
>
> So the question is what should I set in dovecot to get the same
> behaviour?

You can configure 'pass_filter' to discount entries with your disable-
flag. Affected users won't be able to authenticate with Dovecot, which
I assume is what you are trying to achieve.

-Ralph



More information about the dovecot mailing list