1

Topic: Amavisd: Disable quarantining in SQL

==== ==== Required information ====
- iRedMail version: 0.8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6 64bit
- Related log if you're reporting an issue: //
====

Some times ago I've enabled spam quarantining in SQL following your tutorial and it works fine.
Now I need to disable it, restoring delivery of junk mail to user's mailbox. How I can do it??

Restore to "D_PASS" below settings:

$final_spam_destiny       = D_PASS;
$final_banned_destiny     = D_PASS;

And comment out this again:

$spam_quarantine_to = 'spam-quarantine';    # <- Remove '#' at the beginning of line.
$spam_quarantine_method = 'sql:';           # <- Remove '#' at the beginning of line.

#
# Quarantine VIRUS into SQL server.
#
$virus_quarantine_to = 'virus-quarantine';   # <- Remove '#' at the beginning of line.
$virus_quarantine_method = 'sql:';           # <- Remove '#' at the beginning of line.

#
# Quarantine BANNED emails into SQL server.
#
$banned_quarantine_to = 'banned-quarantine';
$banned_files_quarantine_method = 'sql:';

is enough?

What about this?

@storage_sql_dsn = (
    ['DBI:...],
);

I can leave "quarantine = True" in "iRedAdmin-Pro -> settings.ini" or disable it is better?


(Sorry for my English...)

----

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

2

Re: Amavisd: Disable quarantining in SQL

matteo.frakka wrote:

is enough?

Enough. smile

matteo.frakka wrote:

I can leave "quarantine = True" in "iRedAdmin-Pro -> settings.ini" or disable it is better?

It's better to set it to False in settings.ini.