aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/spamd.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index 7bf21ee7..e7f6a780 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -42,12 +42,15 @@ function sync_package_spamd() {
}
fwrite($fd, ":\n\n# begin of whitelist\n");
fwrite($fd, "whitelist:\\\n");
+ fwrite($fd, "\t:method=file:\\\n");
fwrite($fd, "\t:white:\\\n");
- fwrite($fd, "\t:file=/var/db/whitelist.txt\n");
+ fwrite($fd, "\t:file=/var/db/whitelist.txt:\n");
fwrite($fd, ":\n\n# begin of blacklist\n");
fwrite($fd, "blacklist:\\\n");
fwrite($fd, "\t:black:\\\n");
- fwrite($fd, "\t:file=/var/db/blacklist.txt\n");
+ fwrite($fd, "\t:msg=\"Sorry, you spammed us before.\":\\\n");
+ fwrite($fd, "\t:method=file:\\\n");
+ fwrite($fd, "\t:file=/var/db/blacklist.txt:\n");
/* loop through each item and write out its configuration */
fwrite($fd, "\n# begin of user created entries\n");
if($config['installedpackages']['spamdsources']['config'] != "") {