aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-02-08 05:01:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-02-08 05:01:19 +0000
commit17d672d74b91e0e38cfd8d0807430cd981952472 (patch)
tree57f0f7024eacb68a9c2cee605ce5c55e3c689207 /packages
parent5717163bffb113333fba51c2775cb07564a5b081 (diff)
downloadpfsense-packages-17d672d74b91e0e38cfd8d0807430cd981952472.tar.gz
pfsense-packages-17d672d74b91e0e38cfd8d0807430cd981952472.tar.bz2
pfsense-packages-17d672d74b91e0e38cfd8d0807430cd981952472.zip
Download additional file
Diffstat (limited to 'packages')
-rw-r--r--packages/spamd.xml5
-rw-r--r--packages/spamd_db.php3
2 files changed, 7 insertions, 1 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml
index 504fcb44..807cc864 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -51,6 +51,11 @@
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<chmod>0755</chmod>
+ <item>http://www.pfsense.com/packages/config/spamd_outlook.xml</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
<item>http://www.pfsense.com/packages/config/spamd.inc</item>
</additional_files_needed>
<additional_files_needed>
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>&nbsp;</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">