2018-04-11 21:34:51 +02:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
2020-06-11 12:57:53 +02:00
|
|
|
# Copyright (C) 2018-2020 Christian Boltz
|
2018-04-11 21:34:51 +02:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2023-06-30 23:36:12 -07:00
|
|
|
abi <abi/4.0>,
|
2020-05-05 00:08:39 -07:00
|
|
|
|
2020-06-09 23:30:24 +02:00
|
|
|
include <tunables/global>
|
2018-04-11 21:34:51 +02:00
|
|
|
|
2023-08-03 01:00:48 -04:00
|
|
|
profile dovecot-stats /usr/lib*/dovecot/stats {
|
2020-06-09 23:30:24 +02:00
|
|
|
include <abstractions/base>
|
|
|
|
include <abstractions/dovecot-common>
|
2018-04-11 21:34:51 +02:00
|
|
|
|
|
|
|
capability setuid,
|
|
|
|
capability sys_chroot,
|
|
|
|
|
2021-07-19 22:36:28 +02:00
|
|
|
# for metrics end-point (Prometheus)
|
|
|
|
network inet stream,
|
|
|
|
network inet6 stream,
|
|
|
|
|
2023-08-03 01:00:48 -04:00
|
|
|
/usr/lib*/dovecot/stats mr,
|
2018-04-11 21:34:51 +02:00
|
|
|
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
2020-04-28 22:25:27 +02:00
|
|
|
include if exists <local/usr.lib.dovecot.stats>
|
2018-04-11 21:34:51 +02:00
|
|
|
}
|