ddc41a170f
and supplemental config directory (by develop7) - update apparmor-profiles-dovecot-bnc851984.diff: - do not add access to @{DOVECOT_MAILSTORE} - not required by the main binary - add abstractions/mysql - allow execution of some more /usr/lib/dovecot/* binaries - better restrict access to /var/spool/postfix/private/ - update usr.lib.dovecot.auth to allow to read mysql config files - update usr.lib.dovecot.dict and usr.lib.dovecot.lmtp: add abstractions/nameservice instead of allowing more and more files OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=75
31 lines
850 B
Plaintext
31 lines
850 B
Plaintext
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2013 Christian Boltz
|
|
#
|
|
# 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/dict {
|
|
#include <abstractions/base>
|
|
#include <abstractions/mysql>
|
|
#include <abstractions/nameservice>
|
|
|
|
capability setgid,
|
|
capability setuid,
|
|
|
|
network inet stream,
|
|
|
|
/etc/dovecot/dovecot-database.conf.ext r,
|
|
/etc/dovecot/dovecot-dict-sql.conf.ext r,
|
|
/usr/lib/dovecot/dict mr,
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
#include <local/usr.lib.dovecot.dict>
|
|
}
|