diff options
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r-- | packages/spamd_db.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php index c613e9b5..f779acbc 100644 --- a/packages/spamd_db.php +++ b/packages/spamd_db.php @@ -76,6 +76,7 @@ if($_GET['action'] or $_POST['action']) { exec("/usr/local/sbin/spamdb -d \"<{$srcip}>\" -T"); exec("/usr/local/sbin/spamdb -d \"<{$srcip}>\" -t"); exec("/usr/local/sbin/spamdb -a {$srcip} -t"); + mwexec("/sbin/pfctl -q -t spamd -T add -f /var/db/blacklist.txt"); } /* signal a reload for real time effect. */ mwexec("killall -HUP spamlogd"); |