# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2006 Novell/SUSE
#
#    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-anvil /usr/lib/postfix/{bin/,sbin/}anvil {
  #include <abstractions/base>
  #include <abstractions/nameservice>
  #include <abstractions/postfix-common>

  capability setgid,
  capability setuid,

  /usr/lib/postfix/{bin/,sbin/}anvil                     rmix,

  /etc/postfix/main.cf                           r,
  owner /var/spool/postfix/private/anvil         rw,
  owner /var/spool/postfix/pid/unix.anvil        rw,
  @{PROC}/net/if_inet6                           r,

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