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

« back to all changes in this revision

Viewing changes to profiles/apparmor/profiles/extras/usr.bin.procmail

  • 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-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/bin/procmail {
 
14
  #include <abstractions/base>
 
15
  #include <abstractions/bash>
 
16
  #include <abstractions/nameservice>
 
17
  #include <abstractions/user-mail>
 
18
 
 
19
  # procmail configuration
 
20
  /etc/procmailrc       r,
 
21
  @{HOME}/.procmail/*   rwl,
 
22
  @{HOME}/.procmailrc   r,
 
23
  @{HOME}/.procmail.log rwl,
 
24
 
 
25
  # users want procmail to do many things:
 
26
  @{HOME}/** rwl,
 
27
 
 
28
  /dev/tty              rw,
 
29
  # common commands
 
30
  /bin/bash             rmix,
 
31
  /bin/date             rmix,
 
32
  /bin/gzip             rmix,
 
33
  /usr/bin/formail      rmix,
 
34
  /usr/bin/procmail     rmix,
 
35
  /usr/bin/spamc        Px,
 
36
  /usr/sbin/sendmail           rPx,
 
37
}