freebsd-ports/mail/p5-Mail-SpamAssassin/pkg-deinstall
Sergey Matveychuk dc2973ac8a - Update to 3.0.3 (1)
- Don't run spamd from root anymore. Use spamd user instead.
  Put PID file in /var/run/spamd/ as result.
- A patch for fixing spamd that did not drop privileges for children (2)
- Rename SQL variable to more clean SQL_FLAG.

PR:		ports/80556 (1)
Submitted by:	Linh Pham <question+fbsdports@closedsrc.org> (1)
		Brandon Kuczenski <brandon@301south.net> (perl@) (2)
Obtained from:	http://bugzilla.spamassassin.org/show_bug.cgi?id=3897 (2)
2005-05-06 20:05:57 +00:00

14 lines
200 B
Bash

#!/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