#!/bin/sh

if [ "$2" != "POST-DEINSTALL" ]; then
    exit 0
fi

USER=spamd

if pw usershow "${USER}" 2>/dev/null 1>&2; then
	echo "To delete ${USER} user permanently, use 'rmuser ${USER}'"
fi

exit 0


syntax highlighted by Code2HTML, v. 0.9.1