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.deliver (1180B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2009 Dulmandakh Sukhbaatar <dulmandakh@gmail.com>
  4. # Copyright (C) 2009-2014 Canonical Ltd.
  5. # Copyright (C) 2011-2020 Christian Boltz
  6. #
  7. # This program is free software; you can redistribute it and/or
  8. # modify it under the terms of version 2 of the GNU General Public
  9. # License published by the Free Software Foundation.
  10. #
  11. # ------------------------------------------------------------------
  12. # vim: ft=apparmor
  13. abi <abi/3.0>,
  14. include <tunables/global>
  15. include <tunables/dovecot>
  16. profile dovecot-deliver /usr/lib/dovecot/deliver {
  17. include <abstractions/base>
  18. include <abstractions/nameservice>
  19. include <abstractions/dovecot-common>
  20. capability setuid,
  21. @{DOVECOT_MAILSTORE}/ rw,
  22. @{DOVECOT_MAILSTORE}/** rwkl,
  23. # http://www.postfix.org/SASL_README.html#server_dovecot
  24. /etc/dovecot/dovecot.conf r,
  25. /etc/dovecot/{auth,conf}.d/*.conf r,
  26. /etc/dovecot/dovecot-postfix.conf r, # ???
  27. @{HOME} r, # ???
  28. /usr/lib/dovecot/deliver mr,
  29. # Site-specific additions and overrides. See local/README for details.
  30. include if exists <local/usr.lib.dovecot.deliver>
  31. }