diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-02-17 21:16:46 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-02-17 21:16:46 +0000 |
commit | c80e1983fbabc35a806e5bb81b8e4e01af02efb9 (patch) | |
tree | e287fbfa3c52c1fe70be85dcf01cfcc651e52005 /mail/smfsav/pkg-deinstall | |
parent | Update to 1.1.0. (diff) |
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>
Notes
Notes:
svn path=/head/; revision=207486
Diffstat (limited to 'mail/smfsav/pkg-deinstall')
-rw-r--r-- | mail/smfsav/pkg-deinstall | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mail/smfsav/pkg-deinstall b/mail/smfsav/pkg-deinstall new file mode 100644 index 000000000000..f24af6e46af3 --- /dev/null +++ b/mail/smfsav/pkg-deinstall @@ -0,0 +1,27 @@ +#!/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 |