On new VPS being prepared for production, we see in /var/log/mail.log Code: Mar 18 01:00:11 s2 postfix/lmtp[420719]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused according to htf_report the port is not open. Does this indicate that something is not installed properly? Or how to resolve? Thanks
The error message means that the amavis daemon is not running. Restart amavisd and in case it still does not work, check the mail.log to see why amavis does not start.
Super fast response! Thanks! You were correct. It had exited. Restarting failed with this message in the mail.log: Code: Mar 18 01:37:56 s2 amavis[422483]: (!)Net::Server: 2022/03/18-01:37:56 Can't connect to TCP port 10024 on ::1 [Cannot assign requested address]\n at line 64 in file /usr/share/perl5/Net/Server/Proto/TCP.pm
Stop amavis, then see if something still has port 10024 open (with 'lsof -i :10024'), eg. maybe another amavis process that is hung? You might have to kill that before starting amavis. Or just reboot and see if it starts.