summaryrefslogtreecommitdiff
path: root/src/kbsrc
diff options
context:
space:
mode:
Diffstat (limited to 'src/kbsrc')
-rw-r--r--src/kbsrc39
1 files changed, 25 insertions, 14 deletions
diff --git a/src/kbsrc b/src/kbsrc
index e59e512..5361dd3 100644
--- a/src/kbsrc
+++ b/src/kbsrc
@@ -24,31 +24,41 @@ trusted_domains
{
my-place-of-work.com
freebsd.org
+ kernel.org
}
+# Blacklist specific domains
+#
+blacklist
+{
+ ^wretched-hive-of-scum-and-villainy\.com$
+ ^jumbo-whatsits\.com$
+ ^microsoft\.com$
+}
+
+
+# Set up a few subject macros
+#
+subject_macro "i" "[il1!]"
+subject_macro "e" "[e3]"
+subject_macro "s" "[s5z]"
+
+
# Domain based rules
#
# Remember that the domain is defined in the form of a regular expression!
#
# Anyone who doesn't know me, has to include the string ansi-c to
-# get through from a .net address.
+# get through from a .com address.
#
-domain "\.net$"
+domain "\.com$"
{
default block
allow_subject ".*ansi-c.*"
}
-# 'Blacklist' a specific domain
-#
-domain "^wretched-hive-of-scum-and-villainy\.com$"
-{
- default block
-}
-
-
# Or alternatively apply general rules to all untrusted messages
#
domain "."
@@ -66,7 +76,7 @@ domain "."
# to check the delete logs once in a while.
#
# And to avoid insulting anyone, there are some obvious words missing
- # from this example list... If you're old enough, add them yourself.
+ # from this example list... If you're old enough, add them yourself...
#
# And finally remember a few variants - spelling isn't what it once was
# amongst spammers...
@@ -78,14 +88,15 @@ domain "."
block_subject ".* ?mortgage ?.*"
block_subject ".* ?credit card ?.*"
block_subject ".* ?miracle pill ?.*"
- block_subject ".* ?teenage girl ?.*"
+ block_subject ".* ?schoolgirl ?.*"
block_subject ".* ?video tape ?.*"
block_subject ".* ?sexy? ?.*"
block_subject ".* ?naked ?.*"
block_subject ".* ?nigeria ?.*"
# Why would anyone sane want to use my username in a subject?
- # I know who I am!
+ # I know who I am! Note it's capitilised so nothing bizarre gets
+ # done by the subject macros.
#
- block_subject "emailname@my-isp.co.uk"
+ block_subject "EMAILNAME@MY-ISP.CO.UK"
}