aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd_db.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r--packages/spamd_db.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php
index 25ef4ab3..a65e3355 100644
--- a/packages/spamd_db.php
+++ b/packages/spamd_db.php
@@ -64,6 +64,9 @@ if($_GET['action'] or $_POST['action']) {
exec("/usr/local/sbin/spamdb -d \"<{$srcip}>\" -T");
exec("/usr/local/sbin/spamdb -d \"<{$srcip}>\" -t");
} else if($action == "spamtrap") {
+ exec("/usr/local/sbin/spamdb -d {$srcip}");
+ exec("/usr/local/sbin/spamdb -d \"<{$srcip}>\" -T");
+ exec("/usr/local/sbin/spamdb -d \"<{$srcip}>\" -t");
exec("/usr/local/sbin/spamdb -a {$srcip} -T");
} else if($action == "trapped") {
exec("/usr/local/sbin/spamdb -a {$srcip} -t");