comparison xml/sample.conf @ 20:948343c0cfdd

add sample for content filtering
author carl
date Fri, 30 Apr 2004 22:49:08 -0700
parents 443aa0e8c6fa
children 2e23b7184d2b
comparison
equal deleted inserted replaced
19:b8f5fa3dd5b8 20:948343c0cfdd
1 # $Id$ 1 # $Id$
2 # 2 #
3 # lines start with a command token, following by argument tokens 3 # lines start with a command token, following by argument tokens
4 # tokens are separated by spaces or tabs 4 # tokens are separated by spaces or tabs
5 # 5 #
6 #
7 # content:
8 # second token is the dns suffix used for the actual lookups
9 # third token? is a string enclosed in single quotes, so it
10 # is not really a token. This is the error message, with
11 # up to two %s parameters for the offending host name and
12 # client ip address respectively.
6 # 13 #
7 # dnsbl: 14 # dnsbl:
8 # second token is the name of this dnsbl 15 # second token is the name of this dnsbl
9 # third token is the dns suffix used for the actual lookups 16 # third token is the dns suffix used for the actual lookups
10 # fourth token? is a string enclosed in single quotes, so it 17 # fourth token? is a string enclosed in single quotes, so it
70 # 77 #
71 ############################################## 78 ##############################################
72 # define the dnsbls to use 79 # define the dnsbls to use
73 # 80 #
74 # 81 #
82 content sbl-xbl.spamhaus.org 'Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s'
75 dnsbl LOCAL blackholes.five-ten-sg.com 'Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s' 83 dnsbl LOCAL blackholes.five-ten-sg.com 'Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s'
76 dnsbl SPEWS blackholes.spews.org 'Mail from %s rejected - spews; see http://www.spews.org/ask.cgi?x=%s' 84 dnsbl SPEWS blackholes.spews.org 'Mail from %s rejected - spews; see http://www.spews.org/ask.cgi?x=%s'
77 dnsbl SBL sbl-xbl.spamhaus.org 'Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s' 85 dnsbl SBL sbl-xbl.spamhaus.org 'Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s'
78 86
79 87