Topic: connect to 127.0.0.1[127.0.0.1]:10026: Connection refused
Immediately after upgrading to Debian 12 started to see the following in postfix/amavis/mail log files:
connect to 127.0.0.1[127.0.0.1]:10026: Connection refused
The postfix queue started to fillup with "stuck" messages. Ran
postqueue -f
and some messages would process, but then everything got stuck again. In order to process about ~150 messages, had to restart amavis and then run "postqueue -f" about 5-7 times.
After cleaning the queue, running the below indicates an empty queue for a short period of time, then the queue starts to fill up again.
mailq
Every time that get "connect to 127.0.0.1[127.0.0.1]:10026: Connection refused" the amavis task is running and using a good amount of CPU, but not maxing out RAM. The amavis task never fails per se (service is still running), but the queue stops processing, and the amavis task stops using a good amount of cpu corresponding with ceasing to process the queue.
Every time the queue starts to fill up again, "netstat -tulnp" shows that ports 10024 and 10026 disappear as open. I believe that the cause of this issue may be that these ports are closing unexpectedly, but not sure how to stop them from closing unexpectedly.
Any suggestions to resolve the underlying issue would be appreciated.
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.1
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.