2014-01-02 14:01:50 +01:00
|
|
|
# ------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# 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>
|
|
|
|
#include <tunables/dovecot>
|
|
|
|
|
|
|
|
/usr/lib/dovecot/lmtp {
|
|
|
|
#include <abstractions/base>
|
2014-01-26 16:18:37 +01:00
|
|
|
#include <abstractions/nameservice>
|
2014-01-02 14:01:50 +01:00
|
|
|
|
2014-01-19 15:56:57 +01:00
|
|
|
deny capability block_suspend,
|
|
|
|
|
2014-01-02 14:01:50 +01:00
|
|
|
capability dac_override,
|
|
|
|
capability setgid,
|
|
|
|
capability setuid,
|
|
|
|
|
|
|
|
@{DOVECOT_MAILSTORE}/ rw,
|
|
|
|
@{DOVECOT_MAILSTORE}/** rwkl,
|
|
|
|
|
2014-01-19 15:56:57 +01:00
|
|
|
/proc/*/mounts r,
|
|
|
|
/tmp/dovecot.lmtp.* rw,
|
2014-01-02 14:01:50 +01:00
|
|
|
/usr/lib/dovecot/lmtp mr,
|
2014-01-19 15:56:57 +01:00
|
|
|
/{var/,}run/dovecot/mounts r,
|
2014-01-02 14:01:50 +01:00
|
|
|
|
|
|
|
# Site-specific additions and overrides. See local/README for details.
|
|
|
|
#include <local/usr.lib.dovecot.lmtp>
|
|
|
|
}
|