1 (edited by justinkumpe 2022-05-26 04:00:34)

Topic: Error releasing from quarantine

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

When trying to release an email from quarantine I get Error: ConnectionRefusedError(111, 'Connection refused'). I do not see anything in the logs but I may be looking at the wrong log files.

Any ideas how to fix this?

----

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

2

Re: Error releasing from quarantine

Still having this issue. Unable to release any emails from quarantine. Any one have any ideas how to fix the issue?

3

Re: Error releasing from quarantine

- Do you have Amavisd service running?
- iRedAdmin-Pro connects to port 9998 (served by Amavisd) to release quarantined emails.

4

Re: Error releasing from quarantine

ZhangHuangbin wrote:

- Do you have Amavisd service running?
- iRedAdmin-Pro connects to port 9998 (served by Amavisd) to release quarantined emails.

Yes, it appears to be running.

@mail:~$ sudo systemctl status amavis
● amavis.service - Interface between MTA and virus scanner/content filters
     Loaded: loaded (/lib/systemd/system/amavis.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2022-06-07 06:44:52 CDT; 5 days ago
       Docs: http://www.ijs.si/software/amavisd/#doc
   Main PID: 2053369 (/usr/sbin/amavi)
      Tasks: 5 (limit: 9508)
     Memory: 355.9M
        CPU: 16min 4.591s
     CGroup: /system.slice/amavis.service
             ├─2053369 /usr/sbin/amavisd-new (master)
             ├─3669504 /usr/sbin/amavisd-new (ch16-avail)
             ├─3671359 /usr/sbin/amavisd-new (ch15-avail)
             ├─3675107 /usr/sbin/amavisd-new (ch15-avail)
             └─3678219 /usr/sbin/amavisd-new (ch14-avail)

Jun 07 06:44:52 mail.kumpeapps.com systemd[1]: Starting Interface between MTA and virus scanner/content filters...
Jun 07 06:44:52 mail.kumpeapps.com systemd[1]: Started Interface between MTA and virus scanner/content filters.
@mail:~$ sudo lsof -i:9998
COMMAND       PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
/usr/sbin 2053369 amavis    8u  IPv4 11677498      0t0  TCP localhost:9998 (LISTEN)
/usr/sbin 3669504 amavis    8u  IPv4 11677498      0t0  TCP localhost:9998 (LISTEN)
/usr/sbin 3671359 amavis    8u  IPv4 11677498      0t0  TCP localhost:9998 (LISTEN)
/usr/sbin 3675107 amavis    8u  IPv4 11677498      0t0  TCP localhost:9998 (LISTEN)
/usr/sbin 3678219 amavis    8u  IPv4 11677498      0t0  TCP localhost:9998 (LISTEN)

5

Re: Error releasing from quarantine

Finally figured it out. AMAVISD_QUARANTINE_HOST was commented out in /opt/www/iredadmin/settings.py. Removed the # and now it is working fine.

6

Re: Error releasing from quarantine

AMAVISD_QUARANTINE_HOST uses localhost / 127.0.0.1 by default, is your Amavisd running on another host or different IP address?

7 (edited by justinkumpe 2022-11-08 09:49:35)

Re: Error releasing from quarantine

ZhangHuangbin wrote:

AMAVISD_QUARANTINE_HOST uses localhost / 127.0.0.1 by default, is your Amavisd running on another host or different IP address?

sorry, just noticed your reply, amavisd is running on same server. mySQL is on a different server but everything else is on same server.

8

Re: Error releasing from quarantine

justinkumpe wrote:

mySQL is on a different server

AMAVISD_QUARANTINE_HOST must point to SQL server.