On 20231024 23:46:18, Niels Kobschätzki wrote:
Matus UHLAR - fantomas<uh...@fantomas.sk>  hat am 25.10.2023 08:16 CEST 
geschrieben:

On 25.10.23 07:21, Niels Kobschätzki wrote:
I'm having here a mail that scores as DKIM_INVALID.  I tried sending the
same mail to gmail for example and it tells me that DKIM is valid.  Now I
put it through "spamassassin -D" and I am even more baffled because the
debug seems to say that DKIM is valid but then scores as INVALID.
Any idea why this could be?

debug-output from "spamassassin -t -D dkim < message":

Oct 25 07:10:52.341 [1687666] dbg: dkim: VALID DKIM,i=@my.domain.com, 
d=my.domain.com, s=inx, a=rsa-sha256, c=relaxed/relaxed, key_bits=2048, pass, 
matches author domain
Oct 25 07:10:52.342 [1687666] dbg: dkim: signature verification result: PASS
Oct 25 07:10:52.342 [1687666] dbg: dkim: adsp not retrieved, author domain 
signature is valid
Oct 25 07:10:52.342 [1687666] dbg: dkim: adsp result: - (valid a. d. 
signature), author domain 'my.domain.com'
Oct 25 07:10:52.352 [1687666] dbg: dkim: VALID signature by my.domain.com, 
autho...@my.domain.com, no valid matches
Oct 25 07:10:52.352 [1687666] dbg: dkim: autho...@my.domain.com, not in any 
dkim whitelist
Oct 25 07:10:54.125 [1687779] info: util: setuid: ruid=0 euid=0 rgid=0 0 egid=0 0
Oct 25 07:10:54.364 [1687666] info: rules: meta test DKIM_INVALID has 
dependency 'DKIM_VALID' with a zero score
did you set score of DKIM_VALID do 0 ?
DKIM_VALID is not overwritten by any of my local rules. So I would expect that 
this is the case. But even if I set for example

score DKIM_VALID 0
in local.cf there is no change

Best,

Niels

Methinks you have here a very good clue to set a non-zero value, perhaps (most likely), a modest negative score.

{o.o}   Diving back into obscurity

Reply via email to