[Rspamd-Users] add_header confusion

kutz hdkutz at hdkutz.de
Thu Feb 18 08:04:15 UTC 2021


Hello List,
trying to figure out setting add_header.
When looking into my rspamd configuration for add_header Option I see:
<snip>
# grep add_header */*
local.d/dmarc.conf:    # Changed from reject to add_header
local.d/dmarc.conf:    quarantine = "add_header";
local.d/ip_score.conf:add_header_score = 1;
local.d/metrics.conf:   # add_header = 0; rspamd test
local.d/metrics.conf:   #add_header = 6;
local.d/metrics.conf:   add_header = 5;
override.d/metrics.conf:        # add_header = 0; rspamd test
override.d/metrics.conf:        add_header = 5;
<snip>

IMHO x-spamd header are only added when 5 Points of SPAM Score have been
reached - as configured in /etc/rspamd/override.d/metrics.conf.
Other add_header Options are commented.

But i see that header is added even when Score is lower than 5:
<snip>
X-Spamd-Result: default: False [-0.10 / 20.00];
        ARC_NA(0.00)[];
        HAS_XOIP(0.00)[];
        FROM_HAS_DN(0.00)[];
        TO_MATCH_ENVRCPT_ALL(0.00)[];
        MIME_GOOD(-0.10)[multipart/alternative,text/plain];
        PREVIOUSLY_DELIVERED(0.00)[####@#####.##];
        RCPT_COUNT_ONE(0.00)[1];
        RCVD_COUNT_THREE(0.00)[4];
        DKIM_SIGNED(0.00)[####.##:s=20180507];
        NEURAL_HAM(-0.00)[-1.000];
        TO_DN_EQ_ADDR_ALL(0.00)[];
        FROM_EQ_ENVFROM(0.00)[];
        MIME_TRACE(0.00)[0:+,1:+,2:~];
        RCVD_TLS_LAST(0.00)[]
X-Spamd-Bar: /
X-Rspamd-Server: ###############
X-Spam-Status: No, score=-0.10
X-Rspamd-Queue-Id: 4Dh5SP29pvz56jVc
<snip>

Is this normal behavior?
Or am I missing something?

Cheers,
ku
-- 

Darth Vader:
	I find your lack of faith disturbing.


More information about the Users mailing list