/etc/apparmor.d/usr.lib.dovecot.imap is in apparmor-profiles 2.7.103-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # Author: Kees Cook <kees@ubuntu.com>
#include <tunables/global>
/usr/lib/dovecot/imap flags=(complain) {
#include <abstractions/base>
#include <abstractions/nameservice>
capability setgid,
capability setuid,
@{HOME} r,
@{HOME}/Maildir/ rw,
@{HOME}/Maildir/** klrw,
@{HOME}/Mail/ rw,
@{HOME}/Mail/* klrw,
@{HOME}/Mail/.imap/** klrw,
@{HOME}/mail/ rw,
@{HOME}/mail/* klrw,
@{HOME}/mail/.imap/** klrw,
/usr/lib/dovecot/imap mr,
/var/mail/* klrw,
/var/spool/mail/* klrw,
# Site-specific additions and overrides. See local/README for details.
#include <local/usr.lib.dovecot.imap>
}
|