From fb9106affc628be155fb2a4e7c83cd325c6e0202 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 7 Jan 2018 19:27:03 +0000 Subject: [PATCH] [Minor] Remove unused macros --- src/plugins/dkim_check.c | 1 - src/plugins/spf.c | 1 - src/plugins/surbl.h | 5 ----- 3 files changed, 7 deletions(-) diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 39ccf9bc6..705b110d9 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -46,7 +46,6 @@ #define DEFAULT_SYMBOL_NA "R_DKIM_NA" #define DEFAULT_SYMBOL_PERMFAIL "R_DKIM_PERMFAIL" #define DEFAULT_CACHE_SIZE 2048 -#define DEFAULT_CACHE_MAXAGE 86400 #define DEFAULT_TIME_JITTER 60 #define DEFAULT_MAX_SIGS 5 diff --git a/src/plugins/spf.c b/src/plugins/spf.c index 09bd0fca1..dcabfa8c3 100644 --- a/src/plugins/spf.c +++ b/src/plugins/spf.c @@ -43,7 +43,6 @@ #define DEFAULT_SYMBOL_PERMFAIL "R_SPF_PERMFAIL" #define DEFAULT_SYMBOL_NA "R_SPF_NA" #define DEFAULT_CACHE_SIZE 2048 -#define DEFAULT_CACHE_MAXAGE 86400 struct spf_ctx { struct module_ctx ctx; diff --git a/src/plugins/surbl.h b/src/plugins/surbl.h index 6f31b8ce3..5e9241f62 100644 --- a/src/plugins/surbl.h +++ b/src/plugins/surbl.h @@ -5,14 +5,9 @@ #include "multipattern.h" #include "monitored.h" -#define DEFAULT_REDIRECTOR_PORT 8080 #define DEFAULT_SURBL_WEIGHT 10 -#define DEFAULT_REDIRECTOR_CONNECT_TIMEOUT 1.0 #define DEFAULT_REDIRECTOR_READ_TIMEOUT 5.0 -#define DEFAULT_SURBL_MAX_URLS 1000 -#define DEFAULT_SURBL_URL_EXPIRE 86400 #define DEFAULT_SURBL_SYMBOL "SURBL_DNS" -#define DEFAULT_SURBL_SUFFIX "multi.surbl.org" #define SURBL_OPTION_NOIP (1 << 0) #define SURBL_OPTION_RESOLVEIP (1 << 1) #define SURBL_OPTION_CHECKIMAGES (1 << 2) -- 2.39.5