2014-01-26 22:46:51 +01:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Copyright (C) 2013 Christian Boltz
|
2014-07-07 23:35:18 +02:00
|
|
|
# Copyright (C) 2014 Christian Wittmer
|
2014-01-26 22:46:51 +01: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
|
|
|
|
|
|
|
|
#include <tunables/global>
|
|
|
|
|
|
|
|
/usr/lib/dovecot/auth {
|
|
|
|
#include <abstractions/authentication>
|
|
|
|
#include <abstractions/base>
|
|
|
|
#include <abstractions/mysql>
|
|
|
|
#include <abstractions/nameservice>
|
2015-03-19 13:56:41 +01:00
|
|
|
#include <abstractions/openssl>
|
2014-07-07 23:35:18 +02:00
|
|
|
#include <abstractions/wutmp>
|
2014-06-27 12:14:53 -07:00
|
|
|
#include <abstractions/dovecot-common>
|
2014-01-26 22:46:51 +01:00
|
|
|
|
|
|
|
capability audit_write,
|
|
|
|
capability setuid,
|
|
|
|
|
2014-02-02 15:16:25 +01:00
|
|
|
/etc/my.cnf r,
|
|
|
|
/etc/my.cnf.d/ r,
|
|
|
|
/etc/my.cnf.d/*.cnf r,
|
|
|
|
|
2014-08-11 23:16:22 +02:00
|
|
|
/etc/dovecot/* r,
|
2014-01-26 22:46:51 +01:00
|
|
|
/usr/lib/dovecot/auth mr,
|
|
|
|
|
|
|
|
# kerberos replay cache
|
|
|
|
/var/tmp/imap_* rw,
|
|
|
|
/var/tmp/pop_* rw,
|
|
|
|
/var/tmp/sieve_* rw,
|
|
|
|
/var/tmp/smtp_* rw,
|
|
|
|
|
2014-09-26 00:37:14 +02:00
|
|
|
/{var/,}run/dovecot/auth-token-secret.dat{,.tmp} rw,
|
2016-04-07 00:53:06 +02:00
|
|
|
/{var/,}run/dovecot/stats-user w,
|
2014-09-26 00:37:14 +02:00
|
|
|
|
2014-01-26 22:46:51 +01:00
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
|
|
#include <local/usr.lib.dovecot.auth>
|
|
|
|
}
|