#!/bin/sh
case $2 in
POST-INSTALL)
user=pop3vscan
group=mail
spooldir=/var/spool/pop3vscan
echo "Fixing ownerships and modes in \"${spooldir}\"."
chown -R ${user}:${group} ${spooldir}
chmod -R go= ${spooldir}
;;
esac