HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //proc/676643/root/usr/share/apparmor/extra-profiles/postfix-local
# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2006 Novell/SUSE
#    Copyright (C) 2018 Canonical, Ltd.
#    Copyright (C) 2021 Christian Boltz
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------

  abi <abi/3.0>,

include <tunables/global>

profile postfix-local /usr/lib/postfix/{bin/,sbin/,}local {
  include <abstractions/base>
  include <abstractions/bash>
  include <abstractions/nameservice>
  include <abstractions/user-mail>
  include <abstractions/postfix-common>

  /usr/bin/procmail                                     Px,

  /usr/lib/mailman/mail/mailman                         Px,
  /var/mailman/mail/wrapper                             Px,
  /usr/bin/mlmmj-recieve                                Px,

  /usr/lib/postfix/{bin/,sbin/,}local                   mrix,
  /{usr/,}bin/bash                                      mixr,
  /{usr/,}bin/date                                      mixr,

  /dev/tty                                              rw,
  /etc/aliases.{lm,}db                                  rk,
  # mailman on SuSE is configured to have its own alias file
  /var/lib/mailman/data/aliases.{lm,}db                 rk,
  /{var/spool/postfix/,}active/[0-9A-F]/[0-9A-F]/*      rw,
  /{var/spool/postfix/,}active/[0-9A-F]/[0-9A-F]/       rw,
  /{var/spool/postfix/,}active/[0-9A-F]/                rw,
  /{var/spool/postfix/,}active/[0-9A-F]*                rwk,
  /{var/spool/postfix/,}pid/unix.local                  rwk,
  /{var/spool/postfix/,}private/{bounce,defer,flush,lmtp,local,rewrite}         rw,
  /{var/spool/postfix/,}public/{cleanup,flush}          rw,
  # deliver mail
  /var/mail/*                                          wk,
}