1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/mail/smfsav/pkg-deinstall
Pav Lucistnik c80e1983fb It's a lightweight, fast and reliable Sendmail milter that implements
a real-time Sender e-Mail Address Verification technology. This technology
can stop some kinds of SPAM with a spoofed sender's e-Mail address.
  Also it implements a real-time Recipient e-Mail Address Verification
technology. It can be useful if your machine is a backup MX for the recipient's
domains or if your machine forwards all e-Mail messages as a relay host for your
domains to another internal or external e-Mail servers.
  It's a lite alternative for the spamilter, milter-sender and milter-ahead
milters.

WWW: http://smfs.sourceforge.net/

PR:		ports/116948
Submitted by:	Anton Lysenok / Bart Tapolsky <bart@tapolsky.net.ua>
2008-02-17 21:16:46 +00:00

28 lines
462 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
PATH=$PATH:/bin:/usr/sbin
export PATH
if [ "$2" = "POST-DEINSTALL" ]; then
if pw group show -g 666 2>&1 >/dev/null; then
echo "[*] Removing group \"smfsav\""
pw groupdel -g 666
fi
if pw user show -u 666 2>&1 >/dev/null; then
echo "[*] Removing user \"smfsav\""
pw userdel -u 666
fi
if [ -d /var/run/smfsav ]; then
echo "[*] Removing directory \"/var/run/smfsav\""
rmdir /var/run/smfsav
fi
fi