logo

apparmor.d

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

user-mail (944B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2002-2006 Novell/SUSE
  4. # Copyright (C) 2014 Canonical Ltd.
  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. abi <abi/3.0>,
  12. # location of user mail, spool and mboxes
  13. owner @{HOME}/[mM]ail/ r,
  14. owner @{HOME}/[mM]ail/** rwl,
  15. owner @{HOME}/postponed* rwl,
  16. /var/{,spool/}mail/ r,
  17. owner /var/{,spool/}mail/* rwl,
  18. owner @{HOME}/mbox.lock* rwl,
  19. owner @{HOME}/mbox rw,
  20. owner @{HOME}/inbox rw,
  21. owner @{HOME}/.forward r,
  22. owner @{HOME}/Maildir/ r,
  23. owner @{HOME}/Maildir/** rwl,
  24. # Include additions to the abstraction
  25. include if exists <abstractions/user-mail.d>