c80e1983fb
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>
27 lines
462 B
Bash
27 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
|