diff xml/sample.conf @ 27:43a4f6b3e668 stable-2-3

add configurable host name limit and bad html tag limits.
author carl
date Sat, 22 May 2004 22:30:45 -0700
parents 2e23b7184d2b
children 33e1e3910506
line wrap: on
line diff
--- a/xml/sample.conf	Fri May 21 21:55:38 2004 -0700
+++ b/xml/sample.conf	Sat May 22 22:30:45 2004 -0700
@@ -11,9 +11,17 @@
 #       up to two %s parameters for the offending host name and
 #       client ip address respectively.
 #
+# host_limit:
+#   second token is the integer count of the number of host names
+#       or urls that are allowed in any one mail body. Zero is
+#       unlimited.
+#   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_limit:
-#   second token is the integer count of the number of bad html
-#       tags that are allowed in any one mail body.
+#   second token is the integer count of the number of bad html tags
+#       that are allowed in any one mail body. Zero is unlimited.
 #   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.
@@ -91,7 +99,8 @@
 # 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
+host_limit      20                          'Mail containing too many host names rejected'
+html_limit      20                          'Mail containing excessive bad html tags rejected'
 include html-tags.conf