[pmg-devel] applied: [PATCH pmg-api] report: adapt to changes in SpamAssassin dns api

Stoiko Ivanov s.ivanov at proxmox.com
Fri Jul 7 18:57:51 CEST 2023


On Tue, 27 Jun 2023 11:23:58 +0200
Thomas Lamprecht <t.lamprecht at proxmox.com> wrote:

> Am 27/06/2023 um 11:00 schrieb Stoiko Ivanov:
> > SpamAssassin 4.0 changed the way it does DNS-lookups a bit (switched
> > to asynchronous lookups) - this broke pmg-system-report, since
> > we use the SpamAssassin API to check that DNS-resolution works.
> > The reason for this is that SA used to take only the first entry from
> > /etc/resolv.conf - and SA being able to do correct resolution is
> > critical for it to work.
> > 
> > This patch fixes the incompatible use of the DNS-API, but does not
> > change to the asynchronous model.
> > 
> > Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> > ---
> > tested on my pmg installation - a quick verification that it works
> > indeed would be appreciated
> > 
> >  src/PMG/Report.pm | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> >  
> 
> applied, with Friedrich's T-b, thanks!
> 
> should this get also backported to stable-7 branch? as SA 4.0 is available
> there too.

Sorry for overlooking the question (and underlying issue) - yes it should.
I pushed the changes to stable-7 - thanks!




More information about the pmg-devel mailing list