summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2003-03-08 19:03:45 +0000
committerBob Beck <beck@cvs.openbsd.org>2003-03-08 19:03:45 +0000
commitb9bd73c6a06ebc8234c68be6d786c5ad2da74fe9 (patch)
treee359712eb25400bcc96a5fc036ce725b49ce6bd2 /etc
parent64b8d5675b710aec85fcdbc99ba744eeb44a3540 (diff)
default spamd.conf file, with entries for spews 1, spews 2, china and korea
Diffstat (limited to 'etc')
-rw-r--r--etc/Makefile6
-rw-r--r--etc/spamd.conf52
2 files changed, 55 insertions, 3 deletions
diff --git a/etc/Makefile b/etc/Makefile
index c3c7b464891..c85b1877462 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.178 2003/03/04 09:49:22 deraadt Exp $
+# $OpenBSD: Makefile,v 1.179 2003/03/08 19:03:44 beck Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= US/Pacific
@@ -19,8 +19,8 @@ BIN1= bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \
myname netstart networks newsyslog.conf \
phones printcap protocols rbootd.conf rc rc.conf rc.local \
rc.securelevel rc.shutdown remote rpc security services \
- shells syslog.conf weekly etc.${MACHINE}/disktab dhclient.conf \
- mailer.conf
+ shells spamd.conf syslog.conf weekly etc.${MACHINE}/disktab \
+ dhclient.conf mailer.conf
.if (${MACHINE} == "alpha" || ${MACHINE} == "hppa" || \
${MACHINE} == "i386" || ${MACHINE} == "macppc" || \
diff --git a/etc/spamd.conf b/etc/spamd.conf
new file mode 100644
index 00000000000..b87ee3ef5d2
--- /dev/null
+++ b/etc/spamd.conf
@@ -0,0 +1,52 @@
+# $OpenBSD: spamd.conf,v 1.1 2003/03/08 19:03:44 beck Exp $
+#
+# spamd config file, read by spamd-setup(8)
+#
+# Configures whitelists and blacklists for spamd
+#
+# Strings follow getcap(3) convention escapes, other than you
+# can have a bare colon (:) inside a quoted string and it
+# will deal with it. See spamd-setup(8) for more details.
+#
+# "all" must be here, and defines the order in which lists are applied
+# whitelists apply to the previous blacklist. more than one whitelist
+# may be applied to each blacklist
+
+all:\
+ :spews1:spews2:china:korea:
+
+spews1:\
+ :black:\
+ :msg="SPAM. Your address %A is in the spews level 1 database\n\
+ See http://www.spews.org/ask.cgi?x=%A for more details":\
+ :method=http:\
+ :file=www.spews.org/spews_list_level1.txt:
+
+spews2:\
+ :black:\
+ :msg="SPAM. Your address %A is in the spews level 2 database\n\
+ See http://www.spews.org/ask.cgi?x=%A for more details":\
+ :method=http:\
+ :file=www.spews.org/spews_list_level2.txt:
+
+china:\
+ :black:\
+ :msg="SPAM. Your address %A appears to be from china\n\
+ See http://www.okean.com/asianspamblocks.html for more details":\
+ :method=http:\
+ :file=www.okean.com/chinacidr.txt:
+
+korea:\
+ :black:\
+ :msg="SPAM. Your address %A appears to be from korea\n\
+ See http://www.okean.com/asianspamblocks.html for more details":\
+ :method=http:\
+ :file=www.okean.com/koreacidr.txt:
+
+
+# Whitelists are done like this, and must be added to "all" after each
+# blacklist from which you want the addresses in the whitelist removed.
+#
+#whitelist:\
+# :white:\
+# :file=/var/mail/whitelist.txt