On 30.09.22 19:15, Benny Pedersen wrote:
Matus UHLAR - fantomas skrev den 2022-09-30 18:53:
On 30.09.22 18:04, Benny Pedersen wrote:
ifplugin Mail::SpamAssassin::Plugin::DKIM
  ifplugin Mail::SpamAssassin::Plugin::AskDNS

      askdns LOCAL_DNSWL_IN_DWL _DKIMDOMAIN_.dwl.dnswl.org TXT
      describe LOCAL_DNSWL_IN_DWL domain is dnswlisted in dnswl.org
      score LOCAL_DNSWL_IN_DWL -1 -1 -1 -1

tflags LOCAL_DNSWL_IN_DWL net nice noautolearn

  endif # Mail::SpamAssassin::Plugin::AskDNS
endif # Mail::SpamAssassin::Plugin::DKIM

added here, thanks

I'm not sure it should be done with _DKIMDOMAIN_, it's described to contain all valid signatures:

    _DKIMDOMAIN_
      Signing Domain Identifier (SDID) (the 'd' tag) from valid signatures;


the rule should be used with from domain, and only when DKIM_VALID_AU applies.

I have checked with one of mails in my archive and added to user_prefs
add_header      all     dkimdomain      _DKIMDOMAIN_

the result:

Authentication-Results: fantomas.fantomas.sk;
        dkim=pass (2048-bit key; unprotected) 
header.d=threecollectivemarketing.com 
header.i=i...@threecollectivemarketing.com header.a=rsa-sha256 header.s=ipz 
header.b=LJOUNANX;
        dkim=pass (2048-bit key; unprotected) header.d=mx-router-i.com 
header.i=@mx-router-i.com header.a=rsa-sha256 header.s=ipzs2 header.b=qAQp4Ntr;
From: Zebra Blinds <i...@threecollectivemarketing.com>
X-Spam-dkimdomain: threecollectivemarketing.com mx-router-i.com

so I guess the rules published on https://www.dnswl.org/?p=311
are invalid

... unless _DKIMDOMAIN_ is used as array - multiple times

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fighting for peace is like fucking for virginity...

Reply via email to