logo

apparmor.d

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/apparmor.d.git

usr.lib.dovecot.imap (1284B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2009-2010 Canonical Ltd.
  4. # Copyright (C) 2011-2020 Christian Boltz
  5. #
  6. # This program is free software; you can redistribute it and/or
  7. # modify it under the terms of version 2 of the GNU General Public
  8. # License published by the Free Software Foundation.
  9. #
  10. # ------------------------------------------------------------------
  11. # vim: ft=apparmor
  12. abi <abi/3.0>,
  13. include <tunables/global>
  14. include <tunables/dovecot>
  15. profile dovecot-imap /usr/lib/dovecot/imap {
  16. include <abstractions/base>
  17. include <abstractions/nameservice>
  18. include <abstractions/dovecot-common>
  19. capability setuid,
  20. network unix stream,
  21. @{DOVECOT_MAILSTORE}/ rw,
  22. @{DOVECOT_MAILSTORE}/** rwkl,
  23. @{HOME} r, # ???
  24. /etc/dovecot/dovecot.conf r,
  25. /etc/dovecot/conf.d/ r,
  26. /etc/dovecot/conf.d/** r,
  27. owner /tmp/dovecot.imap.* rw,
  28. @{PROC}/@{pid}/attr/{apparmor/,}current rw,
  29. @{PROC}/@{pid}/stat r,
  30. /usr/bin/doveconf rix,
  31. /usr/lib/dovecot/imap mrix,
  32. /usr/share/dovecot/** r,
  33. @{run}/dovecot/login/imap rw,
  34. @{run}/dovecot/auth-master rw,
  35. @{run}/dovecot/mounts r,
  36. # Site-specific additions and overrides. See local/README for details.
  37. include if exists <local/usr.lib.dovecot.imap>
  38. }