diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/spamd_verify_to_address.php | 8 |
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 |