[Rspamd-Users] Disabling symbols in whitelist module

Achim Lammerts ml-rspamd at syntaxys.de
Mon May 8 05:52:40 UTC 2023


Hello list,

I have the problem that I can't get several checks disabled in 
respective to the configuration of the whitelist module.

/etc/rspamd/local.d/whitelist.conf, i. e.:

"WHITELIST_SPF" = {
	valid_spf = true;
	domains = [
	   "$LOCAL_CONFDIR/local.d/maps.d/spf_whitelist.inc.local",
	];
	score = -1.0
	inverse_symbol = "BLACKLIST_SPF";
	apply {
	  *symbols_disabled = ["BAYES", "GREYLIST", "SPF_REPUTATION", 
"URL_REPUTATION", "URIBL_GREY"];*
	  }
	}

But then in the checks:

WHITELIST_DMARC (-7) [domain.tld:D:+]
BAYES_HAM (-3) [100.00%]
WHITELIST_SPF_DKIM (-3) [domain.tld:+,domain.tld:s:+]
*SPF_REPUTATION_SPAM (2.395708) [0.79856942199702]*
*URIBL_GREY (1.5) [cleverreach.com:url]*
WHITELIST_DKIM (-1) [domain.tld:d:+]
WHITELIST_SPF (-1) [domain.tld:s:+]
BAD_REP_POLICIES (0.8)
R_PARTS_DIFFER (0.7376) [86.9%]
MIME_GOOD (-0.1) [multipart/alternative,text/plain]
MANY_INVISIBLE_PARTS (0.05) [1]
HAS_LIST_UNSUB (-0.01)

It seems that disabling other symbols do work w/o problems.
So what's wrong? Thanks for your help!

Regards
Achim


More information about the Users mailing list