Spamd: failed to connect to any address for 127.0.0.1: Connection refused

Hi,
how i can fix this?

In TheBAT client:

>27.07.2022, 15:29:27: SEND - Certificate S/N: 04F8FDCA9A6FA1AE25BA7083519D95AF3FDD, algorithm: RSA (4096 bits), issued from 6/27/2022 10:14:40 PM to 9/25/2022 10:14:39 PM, for 1 host(s): mail.domain.tld.
>27.07.2022, 15:29:27: SEND - Owner: "mail.domain.tld".
>27.07.2022, 15:29:27: SEND - Issuer: "US", "Let's Encrypt", "R3". Valid from 9/4/2020 to 9/15/2025 4:00:00 PM.
>27.07.2022, 15:29:27: SEND - Root: "US", "Internet Security Research Group", "ISRG Root X1". Valid from 6/4/2015 11:04:38 AM to 6/4/2035 11:04:38 AM.
27.07.2022, 15:29:27: SEND - TLS handshake complete
27.07.2022, 15:29:27: SEND - connected to SMTP server
27.07.2022, 15:29:27: SEND - authenticating (login)...
27.07.2022, 15:29:27: SEND - sending message to [[email protected]](mailto:[email protected])
!27.07.2022, 15:29:27: SEND - Message has not been sent. Server reply - Temporary local problem - please try later
27.07.2022, 15:29:27: SEND - TLS connection completed successfully
27.07.2022, 15:29:27: SEND - connection finished - 0 message(s) sent
27.07.2022, 15:29:27: SEND - Some messages were not sent - check the log for details

On server side in EXIM4 has in log:
/var/log/exim4/mainlog

2022-07-27 16:51:49 no host name found for IP address 192.168.200.2
2022-07-27 16:51:51 1oGiO7-000RPv-AR spam acl condition: spamd: failed to connect to any address for 127.0.0.1: Connection refused
2022-07-27 16:51:51 1oGiO7-000RPv-AR spam acl condition: all spamd servers failed
2022-07-27 16:51:51 1oGiO7-000RPv-AR H=([192.168.200.2]) [192.168.200.2] X=TLS1.2:ECDHE_SECP521R1__RSA_SHA512__AES_256_GCM:256 CV=no SNI="mail.systemgroup.cz" F=<[[email protected]](mailto:[email protected])> A=dovecot_login:[[email protected]](mailto:[email protected]) temporarily rejected after DATA

spamassassin and clamav up and running?

yes

when I manually stop the service clamav-daemon, then send message sucessfully, but after many hours problem is back.

netstat -tulpn | grep 783
is output:
tcp6 0 0 ::1:783 :::* LISTEN 1737/perl

After restart ClamAV service is output:

tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      1737/perl
tcp6       0      0 ::1:783                 :::*                    LISTEN      1737/perl

but after many hours is back to:
tcp6 0 0 ::1:783 :::* LISTEN 1737/perl
only.

Randomly command:
netstat -tulpn | grep 783

ended only:
tcp6 0 0 ::1:783 :::* LISTEN 1737/perl

or ended:

tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      1737/perl
tcp6       0      0 ::1:783                 :::*                    LISTEN      1737/perl

I dont know why.

check clamav log, how much memory you have? clamav needs at least 3gb.