aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/spamd.inc2
-rw-r--r--packages/spamd.xml5
2 files changed, 5 insertions, 2 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index e6bdcf0e..4b9230e2 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -56,12 +56,10 @@ function sync_package_spamd() {
$maxblack = " -B " . $pkg_i['maxblack'];
if($pkg_i['maxcon'] <> "")
$maxcon = " -c " . $pkg_i['maxcon'];
-
if($pkg_i['stuttersecs'] <> "")
$stuttersecs = " -S " . $pkg_i['stuttersecs'];
if($pkg_i['delaysecs'] <> "")
$delaysecs = " -s " . $pkg_i['delaysecs'];
-
$start = "/usr/local/sbin/spamd-setup &\n" .
"/sbin/pflogd &\n" .
"/sbin/mount_fdescfs fdescfs /dev/fd\n" .
diff --git a/packages/spamd.xml b/packages/spamd.xml
index 227747da..3315f166 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -45,6 +45,11 @@
<chmod>0755</chmod>
<item>http://www.pfsense.com/packages/config/spamd.inc</item>
</additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://www.pfsense.com/packages/config/spamd_settings.xml</item>
+ </additional_files_needed>
<!-- configpath gets expanded out automatically and config items will be
stored in that location -->
<configpath>['installedpackages']['spamd']['config']</configpath>