Tobias, Giampaolo, Bill, and others

> I'm interested too, thanks in advance

I've place it on the web page:
  http://www.ijs.si/software/amavisd/DKIMrep.pm
  http://www.ijs.si/software/amavisd/effectiveTLDs.pm

(the effectiveTLDs.pm is exactly the same as in the
Florian's package, the DKIMrep.pm is mostly Floarian's
code, but extracted from his original all-in-one plugin,
with my adaptation of the interfacing glue).

- Place DKIMrep.pm and effectiveTLDs.pm somewhere where
  perl+SpamAssassin will be able to find them (perhaps
  where other SA plugins reside), e.g. in
/usr/lib/perl5/site_perl/5.10.0/Mail/SpamAssassin/Plugin/

- add the following to your local.pre or wherever you load
  your extra plugins from:
    loadplugin Mail::SpamAssassin::Plugin::DKIMrep

- add the following to local.cf:

ifplugin Mail::SpamAssassin::Plugin::DKIM
ifplugin Mail::SpamAssassin::Plugin::DKIMrep
full     DKIM_REPUT eval:check_dkim_reputation()
tflags   DKIM_REPUT net
score    DKIM_REPUT 0.1
describe DKIM_REPUT Signing domain reputation according to dkim-reputation.org
priority DKIM_REPUT 200
dkimrep_maxspamscore 0.5
dkimrep_maxhamscore -0.5
endif
endif


Its debug log area is 'dkimrep', so you can turn its logging on by
selecting this SA log area in your spamd or spamassassin or amavisd,
e.g.:
  spamd --debug=noall,dkimrep [...]
  amavisd -d noall,dkimrep    (SA logging will show at log level 3)

I tested it with 3.3.0 and 3.2.5. Not that the DKIMrep plugin
only has effect on messages with valid DKIM signatures, as
verified by the existing DKIM plugin.

  Mark

Reply via email to