apparmor/profiles/apparmor.d/usr.lib.dovecot.stats
Christian Boltz aecfd3db1d Merge branch 'cboltz-dovecot-profiles' into 'master'
Dovecot profile updates

See merge request apparmor/apparmor!90

Acked-by: John Johansen <john.johansen@canonical.com>

(cherry picked from commit 6b78daf25b)

36bdd6ea add dovecot/stats profile, and allow dovecot to run it
26a8b722 allow dovecot/auth to write /run/dovecot/old-stats-user
2018-04-13 13:57:31 +00:00

25 lines
716 B
Text

# ------------------------------------------------------------------
#
# Copyright (C) 2018 Christian Boltz
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of version 2 of the GNU General Public
# License published by the Free Software Foundation.
#
# ------------------------------------------------------------------
# vim: ft=apparmor
#include <tunables/global>
/usr/lib/dovecot/stats {
#include <abstractions/base>
#include <abstractions/dovecot-common>
capability setuid,
capability sys_chroot,
/usr/lib/dovecot/stats mr,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.lib.dovecot.stats>
}