aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-26 04:26:04 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-26 04:26:04 +0000
commitf0b066f5f2035a7f9d9884ee43f41e27bf25007e (patch)
tree6c4e80a2914e0275ff1a2fe13c1feb005241fd55
parentbc90ba9fbc3b406b6117a78a53e419d5e2d41994 (diff)
downloadpfsense-packages-f0b066f5f2035a7f9d9884ee43f41e27bf25007e.tar.gz
pfsense-packages-f0b066f5f2035a7f9d9884ee43f41e27bf25007e.tar.bz2
pfsense-packages-f0b066f5f2035a7f9d9884ee43f41e27bf25007e.zip
Correct the whitelist entries
-rw-r--r--packages/spamd.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml
index 1438d7bd..a6b03b14 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -90,10 +90,12 @@
foreach($config['installedpackages']['spamd']['config'] as $spamd) {
fwrite($fd, ":" . $spamd['provider_name']);
}
- fwrite($fd, "whitelist:\\ \n");
+ fwrite($fd, "# begin of whitelist\n");
+ fwrite($fd, ":whitelist:\\ \n");
fwrite($fd, ":white:\\ \n");
fwrite($fd, ":file=/var/mail/whitelist.txt\n\n");
/* loop through each item and write out its configuration */
+ fwrite($fd, "\n# begin of user created entries\n");
foreach($config['installedpackages']['spamd']['config'] as $spamd) {
fwrite($fd, $spamd['provider_name'] . ":\\ \n");
fwrite($fd, ":" . $spamd['provider_method'] . ":\\ \n");
@@ -101,7 +103,7 @@
fwrite($fd, ":" . $spamd['provider_method'] . ":\\ \n");
fwrite($fd, ":file=" . $spamd['provider_url'] . ":\n\n");
}
- fwrite($fd, ":\n\n");
+ fwrite($fd, ":\n");
fclose($fd);
$fd = fopen("/var/mail/whitelist.txt","w");
foreach($config['installedpackages']['spamd-whitelist']['config'] as $spamd) {