Subject: Bug#1017992: (Upstream fix) socket path handling

From: Spamme <[email-masked]>
Date: Tue, 23 Aug 2022 20:13:52 +0200

Package: amavisd-new
Version: 1:2.11.0-6.1

When using multiple unix sockets, amavis fail to correctly determine 
which socket is being used for the connection, and so it fails to apply 
the correct policy bank. In some cases, no policy bank is found and the 
server crashes with a fatal error:

(!!)TROUBLE in process_request: protocol not specified, UNIX at 
/usr/sbin/amavisd-new line 13718.

This has been fixed upstream here:
https://gitlab.com/amavis/amavis/-/merge_requests/2/diffs?commit_id=f94a641de96a94aac86cc5b36926b503cb8c5c8d

After a quick test I can confirm the fix works on buster.