# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2006 Novell/SUSE
#    Copyright (C) 2017 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.
#
# ------------------------------------------------------------------

#include <tunables/global>

profile postfix-error /usr/lib/postfix/{bin/,sbin/}error {
  #include <abstractions/base>
  #include <abstractions/nameservice>
  #include <abstractions/postfix-common>

  /usr/lib/postfix/{bin/,sbin/}error             mr,

  @{PROC}/sys/kernel/ngroups_max                 r,

  owner /var/spool/postfix/active/*              rwk,
  owner /var/spool/postfix/pid/unix.error        rwk,
  owner /var/spool/postfix/private/defer         w,

  /var/spool/postfix/pid/unix.retry              rwk,

  # Site-specific additions and overrides. See local/README for details.
  #include <local/postfix-error>
}
