diff --git a/profiles/apparmor.d/usr.lib.dovecot.stats b/profiles/apparmor.d/usr.lib.dovecot.stats index 151e4ed63..40424721d 100644 --- a/profiles/apparmor.d/usr.lib.dovecot.stats +++ b/profiles/apparmor.d/usr.lib.dovecot.stats @@ -18,6 +18,10 @@ 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.