diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/spamd_db.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php index a65e3355..930afb50 100644 --- a/packages/spamd_db.php +++ b/packages/spamd_db.php @@ -66,9 +66,12 @@ if($_GET['action'] or $_POST['action']) { } 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 -d \"<{$srcip}>\" -t"); exec("/usr/local/sbin/spamdb -a {$srcip} -T"); } else if($action == "trapped") { + 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"); } /* signal a reload for real time effect. */ |