IMAP Permissions per IP
aki.tuomi at open-xchange.com
Mon Aug 10 08:31:13 EEST 2020
On 10.8.2020 0.58, Jorge Bastos wrote:
> Is it possible to define IMAP permissions per IT?
> What i would like to do is:
> * IP 188.8.131.52 IS THE ONLY ONE that has permission for EXPUNGE
> Is it possible?
> Thanks in advanced,
This is possible, but can be bit tricky to get right.
It involves setting up userdb
driver = passwd-file
args = username_format=%r /etc/dovecot/acl.passwd
this should be after the one where your users are defined. The previous
userdb should have setting result_success=continue-ok.
the passwd file has lines like
then you setup ACL plugin
acl = vfile:/etc/dovecot/acl
acl_globals_only = yes
and have lines like these in the ACL file
* authenticated lrwstipkx
* group-override=expunger lrwstipekx
More information about the dovecot