aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-20 00:02:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-20 00:02:49 +0000
commit0c49881f427d0ace6b74c7aefcc1b52e42c4e982 (patch)
tree4cf364beb1fc9691355bb1f5da6b714ce77e78bc /packages
parenteee673cfa4b384ae6d92a76e6fbfeb96776f69da (diff)
downloadpfsense-packages-0c49881f427d0ace6b74c7aefcc1b52e42c4e982.tar.gz
pfsense-packages-0c49881f427d0ace6b74c7aefcc1b52e42c4e982.tar.bz2
pfsense-packages-0c49881f427d0ace6b74c7aefcc1b52e42c4e982.zip
* Missing :
* Add blacklist notice
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'] != "") {