void-packages/srcpkgs/nullmailer/INSTALL
2019-01-24 19:42:04 -02:00

16 lines
331 B
Text

# 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