# INSTALL
case "${ACTION}" in
post)
	if [ "${UPDATE}" = "no" ]; then
		mkfifo -m 600 var/spool/nullmailer/trigger
		chown _nullmail var/spool/nullmailer/*

		for f in queue mailq; do
			chown _nullmail usr/bin/nullmailer-$f
			chmod u+s usr/bin/nullmailer-$f
		done

		chown _nullmail:_nullmail etc/nullmailer/remotes
	fi
	;;
esac
