From 0cfa056faa0d67f5c2f86eed8cbca290dee6d1c4 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 10 Oct 2019 12:38:24 +0200 Subject: [PATCH] [Rspamd] Do not quaratine if symbol is GLOBAL_X_BL --- data/conf/rspamd/local.d/metadata_exporter.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/data/conf/rspamd/local.d/metadata_exporter.conf b/data/conf/rspamd/local.d/metadata_exporter.conf index eaf9a5b2..dcd0c011 100644 --- a/data/conf/rspamd/local.d/metadata_exporter.conf +++ b/data/conf/rspamd/local.d/metadata_exporter.conf @@ -2,7 +2,7 @@ rules { QUARANTINE { backend = "http"; url = "http://nginx:9081/pipe.php"; - selector = "is_reject"; + selector = "reject_no_global_bl"; formatter = "default"; meta_headers = true; } @@ -22,5 +22,14 @@ return function(task) end return false end +EOD; + reject_no_global_bl = <