1

Topic: iRedAPD problems

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.7
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: FreeBSD 13.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello
Several times a day we get errors about no connection to iRedAPD, I have previously updated it several times to newer versions to solve the problem, but it did not help. Currently it is version 5.6.

The problem solves itself after a while, emails start arriving and does not manifest itself when the server receives a large package of emails, it seems to be random

Today I wanted to diagnose it more and I turned on debugging mode, but I have nothing in the log and it turns out it has been a long time, I checked all permissions and everything looks ok. What could be the problem?

Please suggest/support in this matter.

/var/log/maillog
Sep 10 13:39:40 mx postfix/smtpd[19692]: warning: problem talking to server 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:40 mx postfix/smtpd[19697]: warning: connect to 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:40 mx postfix/smtpd[19697]: warning: problem talking to server 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:41 mx postfix/smtpd[19703]: warning: connect to 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:41 mx postfix/smtpd[19703]: warning: problem talking to server 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:41 mx postfix/smtpd[19720]: warning: connect to 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:41 mx postfix/smtpd[19720]: warning: problem talking to server 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:41 mx postfix/smtpd[19720]: warning: connect to 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:41 mx postfix/smtpd[19729]: warning: problem talking to server 127.0.0.1:7777: Operation now in progress
Sep 10 13:39:41 mx postfix/smtpd[19682]: warning: connect to 127.0.0.1:7777: Connection reset by peer
Sep 10 13:39:41 mx postfix/smtpd[19682]: warning: problem talking to server 127.0.0.1:7777: Connection reset by peer

[root@mx /var/log]# ls -la | grep ired
drwxr-x---   2 iredapd  iredapd       7168 Sep  4 15:07 iredapd

[root@mx /var/log/iredapd]# ls -la
total 21360
drwxr-x---  2 iredapd  iredapd      7168 Sep  4 15:07 .
drwxr-xr-x  7 root     wheel        2048 Sep 10 14:00 ..
-rwxr-x---  1 iredapd  iredapd        57 Sep 10 12:59 iredapd.log

[root@mx /var/log/iredapd]# more /opt/iredapd/settings.py | grep debug
# Log level: info, debug.
log_level = "debug"

[root@mx ~]# more /var/log/iredapd/iredapd.log
Jan 19 15:00:00 mx newsyslog[36715]: logfile turned over

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedAPD problems

Is this a very busy server? How many emails does it send / receive per day?
It's a known issue that iRedAPD may have this issue under high server load.

3

Re: iRedAPD problems

Statistics Of Latest 24 Hours
Received     66155
Sent     43823
Server Load     2.358, 3.113, 3.516

4

Re: iRedAPD problems

What's the hardware spec? CPU and memory.