Rename rbl to iplist since it can be whitelisting.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 16 Sep 2008 19:00:52 +0000 (21:00 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Tue, 16 Sep 2008 19:00:52 +0000 (21:00 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
example/postlicyd.conf
postlicyd/rbl.c

index afd13d5..c7af940 100644 (file)
@@ -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,7 +116,7 @@ greylist {
 }
 
 spamhaus_and_abuseat {
-  type   = rbl;
+  type   = iplist;
 
   # configuration
   file   = lock:10:/var/spool/postlicyd/rbl.spamhaus.org;
index 9c76ed6..748d40a 100644 (file)
@@ -373,7 +373,7 @@ static filter_result_t rbl_filter(const filter_t *filter, const query_t *query)
 
 static int rbl_init(void)
 {
-    filter_type_t type =  filter_register("rbl", rbl_filter_constructor,
+    filter_type_t type =  filter_register("iplist", rbl_filter_constructor,
                                           rbl_filter_destructor, rbl_filter);
     /* Hooks.
      */