dovecot: restrict access by owner to the dovecot/config socket

Being able to read the config means accessing ssl_key data so
should only be restricted to root https://wiki.dovecot.org/Services#config

Signed-off-by: Simon Deziel <simon@sdeziel.info>
This commit is contained in:
Simon Deziel 2019-02-18 09:53:39 -05:00
parent bc36daa264
commit e3fd962e36

View file

@ -16,7 +16,7 @@
# dovecot's master can send us signals
signal receive peer=dovecot,
/{var/,}run/dovecot/config rw,
owner /{var/,}run/dovecot/config rw,
# Include additions to the abstraction
#include if exists <abstractions/dovecot-common.d>