logo

apparmor.d

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

postfix-common (1356B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2002-2005 Novell/SUSE
  4. # Copyright (C) 2015-2018 Canonical, Ltd.
  5. # Copyright (C) 2020-2021 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. # used with postfix/*
  13. abi <abi/3.0>,
  14. capability setuid,
  15. capability setgid,
  16. capability sys_chroot,
  17. # postfix's master can send us signals
  18. signal receive peer=postfix-master,
  19. unix (send, receive) peer=(label=postfix-master),
  20. /etc/mailname r,
  21. /etc/postfix/*.cf r,
  22. /etc/postfix/*.db rk,
  23. /etc/postfix/*.lmdb rk,
  24. @{PROC}/net/if_inet6 r,
  25. /usr/lib/postfix/*.so mr,
  26. /usr/lib{,32,64}/sasl2/* mr,
  27. /usr/lib{,32,64}/sasl2/ r,
  28. /usr/lib/@{multiarch}/sasl2/* mr,
  29. /usr/lib/@{multiarch}/sasl2/ r,
  30. /usr/share/icu/[0-9]*.[0-9]*/*.dat r,
  31. /var/spool/postfix/etc/* r,
  32. /var/spool/postfix/lib/lib*.so* mr,
  33. /var/spool/postfix/lib/@{multiarch}/lib*.so* mr,
  34. /etc/postfix/dynamicmaps.cf.d/ r,
  35. # Include additions to the abstraction
  36. include if exists <abstractions/postfix-common.d>