Hello, Lately my server has not sent the emails, I have seen that all are in the queue to be sent, queue that usually I see in ISPConfig CP. This has happened to me twice and to correct the problem I follow the steps of the following tutorial: https://www.howtoforge.com/postfix-amavisd-connect-to-127.0.0.1-10024-connection-refused However, I would like to know why this happens. Thank you.
So your issue resolved with the help of above given kb that you shared ? In that kb I see only advised to restart the postfix and amavisd-new services to me this seems related to port blocking or busy.
To find out why that happens, you need to examine the logs to see what has stopped. Or maybe check which of amavis, postfix is not running. If both are running and nothing in the logs, you can check the deferred mails to see if they are somehow being deferred for some reason. Use command Code: postcat /var/spool/postfix/deferred/... where ... is for the mail ID you can see from mail log or just read all the mails in the deferred directory tree.