2014-01-26 22:43:42 +01:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Copyright (C) 2009-2010 Canonical Ltd.
|
2020-06-11 12:57:53 +02:00
|
|
|
# Copyright (C) 2011-2020 Christian Boltz
|
2014-01-26 22:43:42 +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
|
2010-08-05 14:00:02 -05:00
|
|
|
|
2020-05-05 00:08:39 -07:00
|
|
|
abi <abi/3.0>,
|
|
|
|
|
2020-06-09 23:30:24 +02:00
|
|
|
include <tunables/global>
|
|
|
|
include <tunables/dovecot>
|
2014-01-26 22:43:42 +01:00
|
|
|
|
2020-06-11 12:57:53 +02:00
|
|
|
profile dovecot-pop3 /usr/lib/dovecot/pop3 {
|
2020-06-09 23:30:24 +02:00
|
|
|
include <abstractions/base>
|
|
|
|
include <abstractions/nameservice>
|
|
|
|
include <abstractions/dovecot-common>
|
2009-11-11 11:42:30 -08:00
|
|
|
|
|
|
|
capability setuid,
|
|
|
|
|
2014-01-26 22:43:42 +01:00
|
|
|
@{DOVECOT_MAILSTORE}/ rw,
|
|
|
|
@{DOVECOT_MAILSTORE}/** rwkl,
|
|
|
|
|
|
|
|
@{HOME} r, # ???
|
2022-05-15 20:53:35 +02:00
|
|
|
@{PROC}/@{pid}/stat r,
|
2009-11-11 11:42:30 -08:00
|
|
|
/usr/lib/dovecot/pop3 mr,
|
2010-08-05 14:00:02 -05: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.pop3>
|
2009-11-11 11:42:30 -08:00
|
|
|
}
|