1

Topic: Timeout

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? : Yes
- Related log if you're reporting an issue: Below
====

Basically when you try to view mail body or headers in quarantined email you get a timeout..

I found this same problem in the forum but with no resolution:-

http://www.iredmail.org/forum/search2092214877.html

here are the logs

[Tue Nov 15 07:52:26.260891 2016] [core:error] [pid 26093] [client 2X.13X.16X.17X:2928] Script timed out before returning headers: iredadmin.py, referer: https://mailhub.psinetworks.net/iredadm … g=RELEASED
[Tue Nov 15 07:55:00.114260 2016] [core:error] [pid 12208] [client 2X.13X.16X.17X:57389] Script timed out before returning headers: iredadmin.py, referer: https://mailhub.psinetworks.net/iredadm … domain.com

----

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

2

Re: Timeout

Are MySQL, Amavisd, iRedAdmin-Pro running on same server?

3

Re: Timeout

Yes they are all on the same server..

4

Re: Timeout

Could you please show me output of command below:

ls -l /var/www/
grep -i '^amavisd_' /var/www/iredadmin/settings.py

5

Re: Timeout

[root@mailhub fail2ban]# ls -l /var/www/
total 20
drwxr-xr-x   3 root      root        36 Oct 21 10:26 backup
drwxr-xr-x.  2 root      root         6 May 12  2016 cgi-bin
drwxr-xr-x.  2 root      root        40 Jul 14 15:35 html
lrwxrwxrwx   1 root      root        23 Oct 22 11:54 iredadmin -> iRedAdmin-Pro-SQL-2.4.1
dr-xr-xr-x.  9 iredadmin iredadmin 4096 Jul 15 02:01 iRedAdmin-0.6.1
dr-xr-xr-x   9 iredadmin iredadmin 4096 Oct 20 22:22 iRedAdmin-0.6.3
dr-xr-xr-x   9 iredadmin iredadmin 4096 Oct 21 10:27 iRedAdmin-Pro-SQL-2.4.0
dr-xr-xr-x   9 iredadmin iredadmin 4096 Nov 14 14:01 iRedAdmin-Pro-SQL-2.4.1
lrwxrwxrwx.  1 root      root        28 Jul 14 15:36 roundcubemail -> /var/www/roundcubemail-1.2.0
drwxr-xr-x. 12 root      root      4096 Jul 14 15:36 roundcubemail-1.2.0

]# grep -i '^amavisd_' /var/www/iredadmin/settings.py
amavisd_enable_logging = True
amavisd_db_host = "127.0.0.1"
amavisd_db_port = "3306"
amavisd_db_name = "amavisd"
amavisd_db_user = "amavisd"
amavisd_db_password = "xxxxxxx"
amavisd_enable_quarantine = True
amavisd_quarantine_port = "9998"
amavisd_enable_policy_lookup = True

6

Re: Timeout

Is it possible to give me direct ssh access with root privilege to debug this issue?

It was reported by another customer before, i cannot remember whether or not it was fixed. sad

7

Re: Timeout

Sure I will send you a PM with the access