mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
Profiles: dovecot add access for dovecot 2.4 doveconf paths
This commit is contained in:
parent
0f76632aec
commit
021f701e59
@ -19,6 +19,8 @@
|
|||||||
signal receive peer=dovecot,
|
signal receive peer=dovecot,
|
||||||
|
|
||||||
owner @{run}/dovecot/config rw,
|
owner @{run}/dovecot/config rw,
|
||||||
|
owner @{run}/dovecot/dovecot.conf.binary r,
|
||||||
|
owner /tmp/doveconf.* r,
|
||||||
|
|
||||||
# Include additions to the abstraction
|
# Include additions to the abstraction
|
||||||
include if exists <abstractions/dovecot-common.d>
|
include if exists <abstractions/dovecot-common.d>
|
||||||
|
@ -28,6 +28,8 @@ profile dovecot-config /usr/lib*/dovecot/config {
|
|||||||
/usr/lib*/dovecot/managesieve Px,
|
/usr/lib*/dovecot/managesieve Px,
|
||||||
/usr/share/dovecot/** r,
|
/usr/share/dovecot/** r,
|
||||||
/var/lib/dovecot/ssl-parameters.dat r,
|
/var/lib/dovecot/ssl-parameters.dat r,
|
||||||
|
owner @{run}/dovecot/dovecot.conf.binary* rw,
|
||||||
|
owner /tmp/doveconf.* rw,
|
||||||
|
|
||||||
# Site-specific additions and overrides. See local/README for details.
|
# Site-specific additions and overrides. See local/README for details.
|
||||||
include if exists <local/usr.lib.dovecot.config>
|
include if exists <local/usr.lib.dovecot.config>
|
||||||
|
@ -78,6 +78,7 @@ profile dovecot /usr/{bin,sbin}/dovecot flags=(attach_disconnected) {
|
|||||||
@{run}/dovecot/ rw,
|
@{run}/dovecot/ rw,
|
||||||
@{run}/dovecot/** rw,
|
@{run}/dovecot/** rw,
|
||||||
link @{run}/dovecot/** -> /var/lib/dovecot/**,
|
link @{run}/dovecot/** -> /var/lib/dovecot/**,
|
||||||
|
owner /tmp/doveconf.* rw,
|
||||||
|
|
||||||
# Site-specific additions and overrides. See local/README for details.
|
# Site-specific additions and overrides. See local/README for details.
|
||||||
include if exists <local/usr.sbin.dovecot>
|
include if exists <local/usr.sbin.dovecot>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user