Rename rbl to iplist since it can be whitelisting.
[apps/pfixtools.git] / example / postlicyd.conf
index a8ef0e0..c7af940 100644 (file)
@@ -12,8 +12,8 @@
 #         escape any character \c = c (\n = n, \\ = \, ...). This format allow non-ascii
 #         strings and string concatenation " abcd " "ef" = " abcd ef".
 #       - ASCII-only strings can be written without double-quotes. They can be splitted
-#         into several lines using shell-like escaping of EOL. A string begins on the
-#         first non-blank character. This king of string can not contain semi-colons.
+#         into several lines using shell-like escaping of EOL. A string begins and ends on
+#         on a non-blank character. This king of string can not contain semi-colons.
 # eg:
 #  The following format are equivalent:
 #   (1) this is a str\
@@ -52,7 +52,7 @@
 #
 # Filter:
 #   Current defined filter types are:
-#     - rbl: match the client_address against one or more blacklist files from a rbl
+#     - iplist: match the client_address against one or more blacklist files from a rbl
 #        Parameters:
 #           - file: (non)?lock:weight:filename
 #             declare a file to load. If lock is given, the blacklist is locked into the
@@ -116,13 +116,13 @@ greylist {
 }
 
 spamhaus_and_abuseat {
-  type   = rbl;
+  type   = iplist;
 
   # configuration
   file   = lock:10:/var/spool/postlicyd/rbl.spamhaus.org;
   file   = lock:1:/var/spool/postlicyd/cbl.abuseat.org;
   soft_threshold = 1;
-  hard_threshold = 9;
+  hard_threshold = 11;
 
   # hooks
   on_soft_match = greylist;
@@ -150,7 +150,7 @@ spamhaus_and_abuseat {
 #  - data_filter: called on the DATA command (smtpd_data_restrictions)
 #  - end_of_data_filter: called on the END-OF-DATA command
 #    (smtpd_end_of_data_restrictions)
-#  - ertn_filter: called on the ETRN command (stmpd_etrn_restrictions)
+#  - etrn_filter: called on the ETRN command (stmpd_etrn_restrictions)
 #  - verify_filter: called on the VRFY command (no postfix hook ?)
 
 recipient_filter = spamhaus_and_abuseat;