dovecot and ACLs - any known issues?

Discussion in 'Installation/Configuration' started by muelli75, Apr 19, 2019.

  1. muelli75

    muelli75 Member HowtoForge Supporter

    Hi out there!

    I have to configure dovecot 2.2.27-3+deb9u4 on debian stretch running ISPconfig 3.1.13p1.
    Are the any known stumbling blocks by using IPSConfig and ACLs? Thank you for your inputs.

    Best regards, Martin
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That Dovecot version is standard with Debian 9 Stretch, so should provide no issues. There is Perfect Server Guide about installing.
    By ACL you mean Access Control Lists? I have not used them, so can not say anything.
     
  3. muelli75

    muelli75 Member HowtoForge Supporter

    Dovecot and ISP is up and running for years - thanks for the hint to the guide.

    Now I have to introduce Access Control Lists - and therefore the question about any known issues.
    ---
    Update: Dovecot 2.2.27 (debian stretch) is now on ACL, there you have to add some lines in
    /etc/dovecot/dovecot.conf - not in /ect/dovecot/conf.d/* because the files in conf.d are ignored by an ISPConf-Installation.

    Heres my dovecot -n (relevant segments)
    # 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
    mail_plugins = " acl"
    mail_privileged_group = vmail
    namespace {
    list = children
    location = maildir:%%h/Maildir:INDEX=%h/shared/%%u:CONTROL=%h/shared/%%u
    prefix = shared/%%u/
    separator = /
    subscriptions = no
    type = shared
    }

    namespace inbox {
    inbox = yes
    location =
    prefix =
    separator = /
    type = private
    }

    plugin {
    acl = vfile
    acl_shared_dict = file:/var/lib/dovecot/db/shared-mailboxes.db
    }

    protocol imap {
    mail_plugins = quota imap_quota notify mail_log acl imap_acl zlib
    }

    Use
    doveadm acl set -u [email protected] INBOX [email protected] admin create delete expunge insert lookup post read write write-deleted write-seen
    to give full access on [email protected] INBOXs to the user of [email protected]

    Maybe anyone can help this information.​
     
    Last edited: Apr 22, 2019

Share This Page