spamhaus/spamassassin-dqs

Version check error

OutbackMatt opened this issue · 0 comments

In my main SpamAssassin I have set the 'version_tag' setting, like

version_tag my.spamassassin.com

This breaks the version tests in SH.pm

To fix, after this line (it appears twice in that script, 47 and 115 I think)
$sa_version =~ tr/.//d;

I add
$sa_version = substr $sa_version, 0, 3;