1

Topic: Quarantined email

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- 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? No
- Related log if you're reporting an issue:
====

I show the following in the logs:

* [2016-08-29 02:01:01] `quarantine`: 1     

I have the following in amavisd.conf:

$spam_quarantine_method = undef;

Doesn't that mean there shouldn't be anything quarantined?

How do I check the email and if it's okay send it on it's way or if it's not okay delete it as I don't have iRedAdmin-Pro?

----

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

2

Re: Quarantined email

Amavisd is configured to quarantine virus into SQL db by default. Check parameters in Amavisd config file:

$virus_quarantine_to     = 'virus-quarantine';
$virus_quarantine_method = 'sql:';

You can comment out "$virus_quarantine_method" if you prefer to quarantine virus on file system instead of SQL db.

For the one quarantined in SQL db, you can follow this document to release/delete it, or forward to another address:
https://amavis.org/README.protocol.txt

3

Re: Quarantined email

ZhangHuangbin wrote:

Amavisd is configured to quarantine virus into SQL db by default. Check parameters in Amavisd config file:

$virus_quarantine_to     = 'virus-quarantine';
$virus_quarantine_method = 'sql:';

You can comment out "$virus_quarantine_method" if you prefer to quarantine virus on file system instead of SQL db.

For the one quarantined in SQL db, you can follow this document to release/delete it, or forward to another address:
https://amavis.org/README.protocol.txt

I've looked and that document appears to rely on knowing a lot of information about the message in quarantine with no directions on how to locate the information.

4 (edited by dittman 2016-08-31 07:10:53)

Re: Quarantined email

This website pointed me to where to find the information:

http://www.ogalik.ee/amavisd-new-releas … uarantine/

Unfortunately when I try to release I don't get the expected response:

# telnet localhost 9998
Trying ::1...
Connected to localhost.
Escape character is '^]'.
request=release
mail_id=xxxxxxxx (substituted the actual mail_id here)
secret_id=yyyyyyyy (substituted the actual secret_id here)
quar_type=Q
receipient=<dittman@xxx.xxx> (substituted my email address here)
^]
telnet> quit
Connection closed.

I also tried amavisd-release but that doesn't seems to work when they are stored in an SQL database.

5

Re: Quarantined email

dittman wrote:

receipient=<dittman@xxx.xxx> (substituted my email address here)
^]
telnet> quit

Type one more "ENTER" key to terminate/submit the request.

6

Re: Quarantined email

ZhangHuangbin wrote:
dittman wrote:

receipient=<dittman@xxx.xxx> (substituted my email address here)
^]
telnet> quit

Type one more "ENTER" key to terminate/submit the request.

Thanks, that worked, plus not making a typo in the line you quoted (should have been "recipient=<dittman@xxx.xxx>").

I've tried "quit" and "exit" and those don't exit so I have to send ^] and quit to exit unless I'm missing something.

Now to look at why amavisd-release doesn't work.