2014-01-26 22:46:51 +01:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
2020-06-11 12:57:53 +02:00
|
|
|
# Copyright (C) 2013-2020 Christian Boltz
|
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
|
|
|
|
|
2020-05-05 00:08:39 -07:00
|
|
|
abi <abi/3.0>,
|
|
|
|
|
2020-06-09 23:30:24 +02:00
|
|
|
include <tunables/global>
|
2014-01-26 22:46:51 +01:00
|
|
|
|
2023-08-14 07:54:19 +00:00
|
|
|
profile dovecot-anvil /usr/lib*/dovecot/anvil {
|
2020-06-09 23:30:24 +02:00
|
|
|
include <abstractions/base>
|
|
|
|
include <abstractions/dovecot-common>
|
2014-01-26 22:46:51 +01:00
|
|
|
|
|
|
|
capability setuid,
|
|
|
|
capability sys_chroot,
|
|
|
|
|
2019-02-10 21:36:10 -05:00
|
|
|
unix (receive, send) type=stream peer=(label=dovecot),
|
|
|
|
|
2020-02-13 11:02:49 +02:00
|
|
|
@{run}/dovecot/anvil rw,
|
|
|
|
@{run}/dovecot/anvil-auth-penalty rw,
|
2023-08-14 07:54:19 +00:00
|
|
|
/usr/lib*/dovecot/anvil mr,
|
2014-01-26 22:46:51 +01:00
|
|
|
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
2020-04-28 22:25:27 +02:00
|
|
|
include if exists <local/usr.lib.dovecot.anvil>
|
2014-01-26 22:46:51 +01:00
|
|
|
}
|