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

/usr/sbin/postmap {
  include <abstractions/base>
  include <abstractions/nameservice>
  include <abstractions/kerberosclient>
  include <abstractions/postfix-common>

  /etc/fstab                        r,
  /etc/mtab                         r,
  /etc/postfix/*                    r,
  /etc/postfix/*.db                 rwlk,
  /etc/postfix/*.lmdb               rwlk,
  @{PROC}/net/if_inet6              r,
  /usr/share/icu/[0-9]*.[0-9]*/*.dat r,
  /usr/sbin/postmap                 rmix,
}
