From: Vsevolod Stakhov Date: Sun, 7 Jan 2018 19:27:03 +0000 (+0000) Subject: [Minor] Remove unused macros X-Git-Tag: 1.7.0~304 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb9106affc628be155fb2a4e7c83cd325c6e0202;p=thirdparty%2Frspamd.git [Minor] Remove unused macros --- diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 39ccf9bc60..705b110d95 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 09bd0fca14..dcabfa8c30 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 6f31b8ce34..5e9241f627 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)