From: Florent Bruneau Date: Tue, 16 Sep 2008 19:00:52 +0000 (+0200) Subject: Rename rbl to iplist since it can be whitelisting. X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=52179a67b5e09f3f767789abd7857ae17d5f15c2;p=apps%2Fpfixtools.git Rename rbl to iplist since it can be whitelisting. Signed-off-by: Florent Bruneau --- diff --git a/example/postlicyd.conf b/example/postlicyd.conf index afd13d5..c7af940 100644 --- a/example/postlicyd.conf +++ b/example/postlicyd.conf @@ -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; diff --git a/postlicyd/rbl.c b/postlicyd/rbl.c index 9c76ed6..748d40a 100644 --- a/postlicyd/rbl.c +++ b/postlicyd/rbl.c @@ -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. */