Mercurial > dnsbl
diff xml/sample.conf @ 24:2e23b7184d2b
start coding for bad html tag detection
author | carl |
---|---|
date | Wed, 19 May 2004 21:40:50 -0700 |
parents | 948343c0cfdd |
children | 43a4f6b3e668 |
line wrap: on
line diff
--- a/xml/sample.conf Wed May 12 13:23:22 2004 -0700 +++ b/xml/sample.conf Wed May 19 21:40:50 2004 -0700 @@ -11,6 +11,18 @@ # up to two %s parameters for the offending host name and # client ip address respectively. # +# html_limit: +# second token is the integer count of the number of bad html +# tags that are allowed in any one mail body. +# third token? is a string enclosed in single quotes, so it +# is not really a token. This is the error message supplied +# to the smtp client. +# +# html_tag: +# second token is a valid html tag, that is added to the list +# of valid tags. Any html tag seen in the mail bodies that +# that is not in this list is presumed to be invalid. +# # dnsbl: # second token is the name of this dnsbl # third token is the dns suffix used for the actual lookups @@ -76,10 +88,16 @@ # # ############################################## +# content scanning parameters +# +content sbl-xbl.spamhaus.org 'Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s' +html_limit 20 +include html-tags.conf + + +############################################## # define the dnsbls to use # -# -content sbl-xbl.spamhaus.org 'Mail containing %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s' dnsbl LOCAL blackholes.five-ten-sg.com 'Mail from %s rejected - local; see http://www.five-ten-sg.com/blackhole.php?%s' dnsbl SPEWS blackholes.spews.org 'Mail from %s rejected - spews; see http://www.spews.org/ask.cgi?x=%s' dnsbl SBL sbl-xbl.spamhaus.org 'Mail from %s rejected - sbl; see http://www.spamhaus.org/query/bl?ip=%s'