On 6 Aug 2018, at 8.26, Aki Tuomi <aki.tuomi@dovecot.fi> wrote:

You could do

userdb {
   driver = username_format=%Lu passwd-file
   args = /etc/dovecot/share.passwd
}

#  /etc/dovecot/share.passwd
test@onnet.ch::::::: userdb_acl=vfile:/etc/dovecot/dovecot-acl userdb_acl_globals_only = yes

should prevent the user from modifying any ACL files.


close, but few typos. userdb should be:

userdb {
  driver = passwd-file
  args = username_format=%Lu /etc/dovecot/share.passwd
}

Sami