#! /bin/sh
# update postfix copy of resolv.conf (picked up automatically); only default instance is handled

if [ ! -f /etc/resolv.conf ]; then
  rm -f /var/spool/postfix/etc/resolv.conf
else
  exec /usr/lib/postfix/syncfiles.pl /var/spool/postfix /etc/resolv.conf
fi
