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

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Jun 27 11:23:58 CEST 2023


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.




More information about the pmg-devel mailing list