~apparmor-dev/apparmor/master

« back to all changes in this revision

Viewing changes to profiles/apparmor/profiles/extras/usr.lib.postfix.local

  • Committer: Steve Beattie
  • Date: 2019-02-19 09:38:13 UTC
  • Revision ID: sbeattie@ubuntu.com-20190219093813-ud526ee6hwn8nljz
The AppArmor project has been converted to git and is now hosted on
gitlab.

To get the converted repository, please do
  git clone https://gitlab.com/apparmor/apparmor

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# ------------------------------------------------------------------
2
 
#
3
 
#    Copyright (C) 2002-2006 Novell/SUSE
4
 
#
5
 
#    This program is free software; you can redistribute it and/or
6
 
#    modify it under the terms of version 2 of the GNU General Public
7
 
#    License published by the Free Software Foundation.
8
 
#
9
 
# ------------------------------------------------------------------
10
 
 
11
 
#include <tunables/global>
12
 
 
13
 
/usr/lib/postfix/local {
14
 
  #include <abstractions/base>
15
 
  #include <abstractions/bash>
16
 
  #include <abstractions/nameservice>
17
 
  #include <abstractions/user-mail>
18
 
  #include <abstractions/postfix-common>
19
 
 
20
 
  /usr/bin/procmail                                     Px,
21
 
 
22
 
  /usr/lib/mailman/mail/mailman                         Px,
23
 
  /var/mailman/mail/wrapper                             Px,
24
 
  /usr/bin/mlmmj-recieve                                Px,
25
 
 
26
 
  /usr/lib/postfix/local                                rmix,
27
 
  /{usr/,}bin/bash                                      mixr,
28
 
  /{usr/,}bin/date                                      mixr,
29
 
 
30
 
  /dev/tty                                              rw,
31
 
  /etc/{postfix/,}aliases.db                            r,
32
 
  # mailman on SuSE is configed to have its own alias file
33
 
  /var/lib/mailman/data/aliases.db                      r,
34
 
  /{var/spool/postfix/,}active/[0-9A-F]/[0-9A-F]/*      rw,
35
 
  /{var/spool/postfix/,}active/[0-9A-F]/[0-9A-F]/       rw,
36
 
  /{var/spool/postfix/,}active/[0-9A-F]/                rw,
37
 
  /{var/spool/postfix/,}pid/unix.local                  rw,
38
 
  /{var/spool/postfix/,}private/{bounce,defer,flush,lmtp,rewrite}         rw,
39
 
  /{var/spool/postfix/,}public/{cleanup,flush}          rw,
40
 
  /etc/postfix/virtual.db                               r,
41
 
  /etc/postfix/lists.db                                 r,
42
 
}