~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to profiles/apparmor/profiles/extras/usr.sbin.postdrop

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ------------------------------------------------------------------
 
2
#
 
3
#    Copyright (C) 2002-2005 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
# vim:syntax=apparmor
 
11
 
 
12
#include <tunables/global>
 
13
 
 
14
/usr/sbin/postdrop {
 
15
  #include <abstractions/base>
 
16
  #include <abstractions/kerberosclient>
 
17
  #include <abstractions/nameservice>
 
18
  #include <program-chunks/postfix-common>
 
19
 
 
20
  # This is needed at least for permissions=paranoid
 
21
  capability dac_override,
 
22
  capability dac_read_search,
 
23
 
 
24
  /etc/postfix r,
 
25
  /etc/postfix/main.cf r,
 
26
  /etc/postfix/postfix-script mixr,
 
27
  @{PROC}/net/if_inet6 r,
 
28
  /usr/sbin/postdrop rmix,
 
29
  /var/spool/postfix r,
 
30
  /var/spool/postfix/maildrop r,
 
31
  /var/spool/postfix/maildrop/* rwl,
 
32
  /var/spool/postfix/pid r,
 
33
  /var/spool/postfix/public/pickup w,
 
34
}