1

Topic: Machine hangs | Outgoing | Incoming | Stops

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

I am running a testbed iRedMail server on Ubuntu 22.10 and is under testing by my team.  Initially all was well, mails were being tested from application, browsers and mobile.  However about two weeks ago, the machine suddenly stops functioning, email applications such as Outlook / Microsoft mail or even login from web interface does not work.  The mails sent remain in outbox and later gets undelivered. The problem is so much so that even ssh login to the Server does not happen intermittently. Assuming it to be a network problem because even ping to the machine stops, we tried isolating the machine, but later realised it was the issue with one of iRedMail services, because as part of various checks done, we stopped all services on the server such as postfix, dovecot, nginx, slapd and amavis. When we stop these services, the machine starts processing remote ssh login and even the ping to Internet such as Google stabilizes.
However when these services are started back, the machine seems to function alright for about half a day and then the mails stops, no new mails come in or go out, connections don't get established if we are using mail application and ping to local LAN or Internet too stops.
I know there are lot of application in play, but where and which logs do we begin...?


Thanks, Best

BA

----

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

2

Re: Machine hangs | Outgoing | Incoming | Stops

blueaquan wrote:

I am running a testbed iRedMail server on Ubuntu 22.10

iRedMail doesn't support all Ubuntu non-TLS edition, please use 22.04 instead.

3

Re: Machine hangs | Outgoing | Incoming | Stops

Try to stop "fail2ban" service and test again.

4

Re: Machine hangs | Outgoing | Incoming | Stops

ZhangHuangbin wrote:

Try to stop "fail2ban" service and test again.

Stopping fail2ban did not have any effect.  When the momentary suspension happens, nothing on the server works including login, ping and obviously incoming and outgoing mails.  Then momentarily it is back again and stops again.  This cycle continues.

Anyway, I am trying your other suggestion of setting this up on Ubuntu 22.04.  Do you have any other suggestion...? Like Rocky / Alma etc...?  Since this is a testing machine and anyway, we are reinstalling it, I am open to any other OS as well.

Thanks, Best

BA

5

Re: Machine hangs | Outgoing | Incoming | Stops

Any related error in postfix / Dovecot log files? Cannot help much without log.

6

Re: Machine hangs | Outgoing | Incoming | Stops

Hi Team / Forum
Since the problem was not limited to iRedmail alone, as I mentioned earlier, all traffic to and from the server stops. This led us to look at networking issues and it turned out to a simple one.
Apparently one of the service engineers found the NIC with "connect automatically" unchecked.  He simply put a check on that connection and now I am able to connect remotely using ssh and as expected all iRedmail features too are functioning perfectly.

Thanks for your time and patience

BA