Hestia CP – SMTP error 451: temporary local problem – spamd: failed to connect to any address for 127.0.0.1
If you have installed HestiaCP and cannot seem to send / receive emails ,
then check first:
netstat -tulpn | grep 783
it should be listening to tcp localaddress and port as well.
If not and the log is showing below
2023-03-26 13:44:30 1pgOnW-000rMA-LA spam acl condition: spamd: failed to connect to any address for 127.0.0.1: Connection refused
2023-03-26 13:44:30 1pgOnW-000rMA-LA spam acl condition: all spamd servers failed
2023-03-26 13:44:30 1pgOnW-000rMA-LA H=xxx (x) [127.0.0.1] F=<ahmiq@germanystudy.net> A=dovecot_login:x@x temporarily rejected after DATA
change OPTIONS in nano /etc/default/spamassassin to
OPTIONS=”–create-prefs –max-children 5 –helper-home-dir –listen-ip=127.0.0.1″
restart spamasassin and it should work now