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
|
|
|
|
|
2023-06-30 23:36:12 -07:00
|
|
|
abi <abi/4.0>,
|
2020-05-05 00:08:39 -07:00
|
|
|
|
2020-06-09 23:30:24 +02:00
|
|
|
include <tunables/global>
|
|
|
|
include <tunables/dovecot>
|
2014-01-26 22:46:51 +01:00
|
|
|
|
2023-08-03 01:00:48 -04:00
|
|
|
profile dovecot-lmtp /usr/lib*/dovecot/lmtp {
|
2020-06-09 23:30:24 +02:00
|
|
|
include <abstractions/base>
|
|
|
|
include <abstractions/nameservice>
|
|
|
|
include <abstractions/dovecot-common>
|
|
|
|
include <abstractions/ssl_certs>
|
|
|
|
include <abstractions/ssl_keys>
|
2014-01-26 22:46:51 +01:00
|
|
|
|
|
|
|
capability dac_override,
|
2018-01-18 18:15:43 +01:00
|
|
|
capability dac_read_search,
|
2014-01-26 22:46:51 +01:00
|
|
|
capability setuid,
|
|
|
|
|
|
|
|
@{DOVECOT_MAILSTORE}/ rw,
|
|
|
|
@{DOVECOT_MAILSTORE}/** rwkl,
|
|
|
|
|
2016-10-05 20:46:03 +02:00
|
|
|
@{HOME}/.dovecot.svbin r,
|
2020-09-18 04:03:55 -07:00
|
|
|
@{PROC}/@{pid}/attr/{apparmor/,}current rw,
|
2022-05-15 20:53:35 +02:00
|
|
|
owner @{PROC}/@{pid}/io r,
|
|
|
|
owner @{PROC}/@{pid}/stat r,
|
2020-02-13 11:07:42 +02:00
|
|
|
@{PROC}/*/mounts r,
|
2014-01-26 22:46:51 +01:00
|
|
|
/tmp/dovecot.lmtp.* rw,
|
2023-08-03 01:00:48 -04:00
|
|
|
/usr/lib*/dovecot/lmtp mr,
|
2020-02-13 11:02:49 +02:00
|
|
|
@{run}/dovecot/mounts r,
|
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.lmtp>
|
2014-01-26 22:46:51 +01:00
|
|
|
}
|