[Dovecot] Extra plugins vía extrafield in ldap
Antonio Perez-Aranda
aperezaranda at yaco.es
Fri Jun 3 13:30:05 EEST 2011
Hi all,
I'm using dovecot 2.0.9 and I have a config like this:
dovecot.conf:
passdb {
args = /etc/dovecot/conf.d/passwd-ldap.conf
driver = ldap
}
mail_plugins = $mail_plugins quota
plugin {
autocreate = INBOX.SPAM
autocreate2 = INBOX.NoSPAM
autosubscribe = INBOX.SPAM
autosubscribe2 = INBOX.NoSPAM
quota = maildir
}
protocol imap {
mail_plugins = $mail_plugins imap_quota autocreate
}
And in passwd-ldap.conf I have some like this to add extra plugins:
user_attrs = homeDirectory=home,uid=user,mailQuota=quota_rule=*:bytes=%$,mailPlugins=mail_plugins
With this. I can see that dovecot load all plugins from settings, but
in the user session, I can get only the plugins that I have selected
in mailPlugins field
If i check some like this:
mailPlugins=mail_plugins=$mail_plugins %$,
The imap session user is aborted after login.
How can I add extra plugins by ldap without put on ldap all user plugins?
--
Antonio Pérez-Aranda Alcaide
aperezaranda at yaco.es
Yaco Sistemas S.L.
http://www.yaco.es/
C/ Rioja 5, 41001 Sevilla
Teléfono +34 954 50 00 57
Fax +34 954 50 09 29
More information about the dovecot
mailing list