diff --git a/profiles/apparmor.d/usr.lib.dovecot.stats b/profiles/apparmor.d/usr.lib.dovecot.stats index 526745043..37e774065 100644 --- a/profiles/apparmor.d/usr.lib.dovecot.stats +++ b/profiles/apparmor.d/usr.lib.dovecot.stats @@ -20,6 +20,10 @@ profile dovecot-stats /usr/lib/dovecot/stats { capability setuid, capability sys_chroot, + # for metrics end-point (Prometheus) + network inet stream, + network inet6 stream, + /usr/lib/dovecot/stats mr, # Site-specific additions and overrides. See local/README for details.