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.auth (1621B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2013-2020 Christian Boltz
  4. # Copyright (C) 2014 Christian Wittmer
  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. profile dovecot-auth /usr/lib/dovecot/auth {
  15. include <abstractions/authentication>
  16. include <abstractions/base>
  17. include <abstractions/mysql>
  18. include <abstractions/nameservice>
  19. include <abstractions/openssl>
  20. include <abstractions/wutmp>
  21. include <abstractions/dovecot-common>
  22. capability audit_write,
  23. capability dac_override,
  24. capability dac_read_search,
  25. capability setuid,
  26. capability sys_chroot,
  27. /etc/my.cnf r,
  28. /etc/my.cnf.d/ r,
  29. /etc/my.cnf.d/*.cnf r,
  30. /etc/dovecot/* r,
  31. /usr/lib/dovecot/auth mr,
  32. /var/lib/dovecot/auth-chroot/* r,
  33. # kerberos replay cache
  34. /var/tmp/imap_* rw,
  35. /var/tmp/pop_* rw,
  36. /var/tmp/sieve_* rw,
  37. /var/tmp/smtp_* rw,
  38. @{run}/dovecot/auth-master rw,
  39. @{run}/dovecot/auth-userdb rw,
  40. @{run}/dovecot/auth-worker rw,
  41. @{run}/dovecot/login/login rw,
  42. @{run}/dovecot/auth-token-secret.dat{,.tmp} rw,
  43. @{run}/dovecot/old-stats-user w,
  44. @{run}/dovecot/stats-user rw,
  45. @{run}/dovecot/anvil-auth-penalty rw,
  46. /var/spool/postfix/private/auth rw,
  47. # Site-specific additions and overrides. See local/README for details.
  48. include if exists <local/usr.lib.dovecot.auth>
  49. }