aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/spamd.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index b2bfa877..4868072c 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -37,7 +37,7 @@ function sync_package_spamd() {
fwrite($fd, "# this file was automatically generated by the pfSense\n");
fwrite($fd, "# package management system\n\n");
fwrite($fd, "all:\\\n\t:whitelist");
- foreach($config['installedpackages']['spamd']['config'] as $spamd) {
+ foreach($config['installedpackages']['spamdsources']['config'] as $spamd) {
fwrite($fd, ":" . rtrim($spamd['providername']));
}
fwrite($fd, ":\n\n# begin of whitelist\n");