1

Topic: Error: error(110, 'Connection timed out') while realeasing messages

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadabe
- Linux/BSD distribution name and version: Oracle Linux Server release 7.4
- 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.
====

Hi,
When I click a mail to release it from quarantine i get en error:
Error: error(110, 'Connection timed out')

Increasing timeout in php.ini only changed a time to wait for error.

No errors in logs.
mysql and httpd restart doesn't help.

mysql is working on different machine, however this setup had been working for ages.

Regards

----

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

2

Re: Error: error(110, 'Connection timed out') while realeasing messages

It also randomly drops Internal Server Error

3

Re: Error: error(110, 'Connection timed out') while realeasing messages

- Any related error in /var/log/messages?
- Which version of iRedAdmin-Pro are you running?

4

Re: Error: error(110, 'Connection timed out') while realeasing messages

ZhangHuangbin wrote:

- Any related error in /var/log/messages?
- Which version of iRedAdmin-Pro are you running?

No errors in messages.
We're running 2.9.0

5 (edited by misieq 2020-02-21 19:40:39)

Re: Error: error(110, 'Connection timed out') while realeasing messages

Upgraded all to the newest version but the error still exists

The function delete message works fine, it only timesout on release from quarantine.

amavisd-release works since I've linked ln -s /run/amavisd/amavisd.sock /var/spool/amavisd/amavisd.sock

I've enabled logging of all queries for a moment.
I can see query which deletes message.
I cannot see any query containing realeasing msg from quarantine.

6

Re: Error: error(110, 'Connection timed out') while realeasing messages

OK,
Figure it out

AMAVISD_QUARANTINE_HOST = "127.0.0.1" 


should be added to settings.py if mysq is working on other machine because release is made by port 9998