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.replicator (1176B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2020 SUSE LLC
  4. # Copyright (C) 2009-2010 Canonical Ltd.
  5. # Copyright (C) 2011-2013 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. # for https://wiki.dovecot.org/Replication
  14. include <tunables/dovecot>
  15. include <tunables/global>
  16. profile dovecot-replicator /usr/lib/dovecot/replicator {
  17. include <abstractions/base>
  18. include <abstractions/dovecot-common>
  19. include <abstractions/nameservice>
  20. network unix stream,
  21. /etc/dovecot/conf.d/ r,
  22. /etc/dovecot/conf.d/** r,
  23. /etc/dovecot/dovecot.conf r,
  24. /usr/lib/dovecot/replicator mr,
  25. /usr/share/dovecot/** r,
  26. /{,var/}run/dovecot/auth-master rw,
  27. @{DOVECOT_MAILSTORE}/ rw,
  28. @{DOVECOT_MAILSTORE}/** rwlk,
  29. /var/lib/dovecot/replicator.db rw,
  30. # Site-specific additions and overrides. See local/README for details.
  31. include if exists <local/usr.lib.dovecot.replicator>
  32. }