From 52179a67b5e09f3f767789abd7857ae17d5f15c2 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 16 Sep 2008 21:00:52 +0200 Subject: [PATCH] Rename rbl to iplist since it can be whitelisting. Signed-off-by: Florent Bruneau --- example/postlicyd.conf | 4 ++-- postlicyd/rbl.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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. */ -- 2.20.1