From 0e375b62a0572eb8e203b81c2cd19dea5a051be4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 2 Jun 2019 23:32:24 +0100 Subject: [PATCH] [Minor] Fix indentation --- conf/modules.d/spf.conf | 10 +- conf/modules.d/surbl.conf | 194 +++++++++++++++++----------------- conf/modules.d/whitelist.conf | 86 +++++++-------- 3 files changed, 145 insertions(+), 145 deletions(-) diff --git a/conf/modules.d/spf.conf b/conf/modules.d/spf.conf index fa66147a8..841b63ee8 100644 --- a/conf/modules.d/spf.conf +++ b/conf/modules.d/spf.conf @@ -14,10 +14,10 @@ # See https://rspamd.com/doc/tutorials/writing_rules.html for details spf { - spf_cache_size = 2k; - spf_cache_expire = 1d; + spf_cache_size = 2k; + spf_cache_expire = 1d; - .include(try=true,priority=5) "${DBDIR}/dynamic/spf.conf" - .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/spf.conf" - .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/spf.conf" + .include(try=true,priority=5) "${DBDIR}/dynamic/spf.conf" + .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/spf.conf" + .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/spf.conf" } diff --git a/conf/modules.d/surbl.conf b/conf/modules.d/surbl.conf index f8c046aa9..032b2d799 100644 --- a/conf/modules.d/surbl.conf +++ b/conf/modules.d/surbl.conf @@ -14,115 +14,115 @@ # See https://rspamd.com/doc/tutorials/writing_rules.html for details surbl { - whitelist = [ - "https://maps.rspamd.com/rspamd/surbl-whitelist.inc.zst", - "${DBDIR}/surbl-whitelist.inc.local", - "fallback+file://${CONFDIR}/surbl-whitelist.inc" - ]; - exceptions = [ - "https://maps.rspamd.com/rspamd/2tld.inc.zst", - "${DBDIR}/2tld.inc.local", - "fallback+file://${CONFDIR}/2tld.inc" - ]; + whitelist = [ + "https://maps.rspamd.com/rspamd/surbl-whitelist.inc.zst", + "${DBDIR}/surbl-whitelist.inc.local", + "fallback+file://${CONFDIR}/surbl-whitelist.inc" + ]; + exceptions = [ + "https://maps.rspamd.com/rspamd/2tld.inc.zst", + "${DBDIR}/2tld.inc.local", + "fallback+file://${CONFDIR}/2tld.inc" + ]; - rules { - "SURBL_MULTI" { - suffix = "multi.surbl.org"; - check_dkim = true; - bits { - CRACKED_SURBL = 128; # From February 2016 - ABUSE_SURBL = 64; - MW_SURBL_MULTI = 16; - PH_SURBL_MULTI = 8; - SURBL_BLOCKED = 1; - } - } - "URIBL_MULTI" { - suffix = "multi.uribl.com"; - check_dkim = true; - bits { - URIBL_BLOCKED = 1; - URIBL_BLACK = 2; - URIBL_GREY = 4; - URIBL_RED = 8; - } - } - "RSPAMD_URIBL" { - suffix = "uribl.rspamd.com"; - check_dkim = true; - process_script =<