aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-20 04:34:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-20 04:34:10 +0000
commit2ff6df755dbc8ee1d99bc1d5d25d4bc9749c3a0d (patch)
tree48b1871826805c60fce8527afbeccbb9d61fd86e /packages
parent6a1dc9798447b0a5b01985e6cb78fd571daf2347 (diff)
downloadpfsense-packages-2ff6df755dbc8ee1d99bc1d5d25d4bc9749c3a0d.tar.gz
pfsense-packages-2ff6df755dbc8ee1d99bc1d5d25d4bc9749c3a0d.tar.bz2
pfsense-packages-2ff6df755dbc8ee1d99bc1d5d25d4bc9749c3a0d.zip
Do not export blacklist from pfctl tables.
Diffstat (limited to 'packages')
-rw-r--r--packages/spamd_verify_to_address.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/spamd_verify_to_address.php b/packages/spamd_verify_to_address.php
index 1ff4b303..27c3f7b5 100644
--- a/packages/spamd_verify_to_address.php
+++ b/packages/spamd_verify_to_address.php
@@ -130,14 +130,10 @@ if($debug) {
system("/usr/local/sbin/spamdb | grep TRAPPED | wc -l");
echo "Items spamtrapped: ";
system("/usr/local/sbin/spamdb | grep SPAMTRAP | wc -l");
-}
-
-mwexec("/sbin/pfctl -q -t blacklist -T replace -f /var/db/blacklist.txt");
-mwexec("/sbin/pfctl -t blacklist -T show | cut -d\" \" -f4 > /var/db/blacklist.txt");
-
-if($debug) {
echo "Items in blacklist.txt: ";
system("/sbin/pfctl -t blacklist -T show | wc -l");
}
+mwexec("/sbin/pfctl -q -t blacklist -T replace -f /var/db/blacklist.txt");
+
?> \ No newline at end of file