# ------------------------------------------------------------------
#
#    Copyright (C) 2006 Novell/SUSE
#    Copyright (C) 2017 Christian Boltz
#    Copyright (C) 2018 Canonical, Ltd.
#
#    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/4.0>,

include <tunables/global>

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

  /usr/lib{,exec}/postfix/{bin/,sbin/,}pipe mrix,

  /var/spool/postfix/active/* rwk,
  /var/spool/postfix/private/bounce w,
  /var/spool/postfix/private/defer w,
  /var/spool/postfix/private/rewrite w,
  /var/spool/postfix/private/trace w,

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