Benny Pedersen wrote:
The problem is solved with perl 5.18, 5.20, 5.21.5,
which deal with pPOK vs. POK flags somewhat differently.

Spampd 2.30 does not work with perl 5.18, spampd 2.42 does, seem lot
is changed in perl, so is it not just mail::dkim that needs updates
for perl 5.18 ?

Or is it unrelated ?

Don't know about Spampd, it's probably unrelated.

The upgrade of Mail::DKIM in this context was mentioned because
it avoids an issue in an unrelated piece of code, as SpamAssassin
can use a feature offered by a newer Mail::DKIM, which happened to
provide a workaround for the getnameinfo() problem. The Mail::DKIM
itself does not have a problem with running under any of the last
five or so major versions of perl.

I'm not aware of any noteworthy compatibility differences
between 5.14 / 5.16 and 5.18 / 5.20. I don't think anything
needed to be changed either in SpamAssassin or in Amavis
to make it run under 5.18 or 5.20.

The main benefit of using a newer version of perl is avoiding
several old bugs in perl core or modules. Some of these bugs
required workarounds in our code (like several taint-related bugs
in Encode, some utf8-related bugs in regexp evaluation).

There are a couple of stricter warnings issued with each newer
version of perl, but these just reveal some hidden bugs in our
application code and needed to be fixed anyway, perl made them
easier to find. Just recently I needed to fix/avoid two such
warnings under perl 5.21.5 in SpamAssassin (trunk), as well as
in Amavisd (2.10.1).

Other benefits are: updated some essential core modules
(like Encode, Digest::SHA, Socket, and IO::Socket::IP), as well
as some speedups and improved Unicode support.

  Mark

Reply via email to