diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-08 05:01:19 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-08 05:01:19 +0000 |
commit | 17d672d74b91e0e38cfd8d0807430cd981952472 (patch) | |
tree | 57f0f7024eacb68a9c2cee605ce5c55e3c689207 /packages/spamd_db.php | |
parent | 5717163bffb113333fba51c2775cb07564a5b081 (diff) | |
download | pfsense-packages-17d672d74b91e0e38cfd8d0807430cd981952472.tar.gz pfsense-packages-17d672d74b91e0e38cfd8d0807430cd981952472.tar.bz2 pfsense-packages-17d672d74b91e0e38cfd8d0807430cd981952472.zip |
Download additional file
Diffstat (limited to 'packages/spamd_db.php')
-rw-r--r-- | packages/spamd_db.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/spamd_db.php b/packages/spamd_db.php index 62cf3a06..c65a49a7 100644 --- a/packages/spamd_db.php +++ b/packages/spamd_db.php @@ -54,6 +54,7 @@ if($_GET['action'] or $_POST['action']) { $srcip = $_POST['srcip']; /* execute spamdb command */ if($action == "whitelist") { + exec("echo spamdb -a {$srcip} > /tmp/tmp"); exec("/usr/local/sbin/spamdb -a {$srcip}"); } else if($action == "delete") { exec("/usr/local/sbin/spamdb -d {$srcip}"); @@ -205,7 +206,7 @@ if (typeof getURL == 'undefined') { <table> <tr><td align="right">Filter by test:</td><td><input name="filter" value="<?=$filter?>"></input></td><td><input type="submit" value="Filter"></td><td>Inverse filter (NOT):</td><td><input type="checkbox" id="not" name="not" <?php if($not) echo " CHECKED"; ?>></td></tr> <tr><td align="right">Limit:</td><td><input name="limit" value="<?=$limit?>"></input></td></tr> -<tr><td></td></tr> +<tr><td> </td></tr> <tr><td align="right">Add spam trap E-mail address:</td><td><input name="spamtrapemail" value="<?=$spamtrapemail?>"></input></td><td><input type="submit" value="Add"></td></tr> </table><br> <table width="99%" border="0" cellpadding="0" cellspacing="0"> |