Topic: Trying to config quarantine local for spam
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.4
- Deployed with iRedMail Easy or the downloadable installer? downloaded installer
- Linux/BSD distribution name and version: RHEL 9.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL (MariaDB)
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I'm trying to config spam to:
1. Deliver the mail to user, with spam header and to the '.Junk/new' dir.
2. To store a copy of the mail to the quarantine local dir: '/var/spool/amavisd/quarantine'
3. In my tests, I've seen that postmaster gets a notification mail for each spam message. Is this able to be configured to: a) doesn't send that messages to post master, or b) keep this behavior (keep sending these messages to postmaster)?
Number 1, works OK
Number 2, does not work. No files added to quarantine dir structure: '/var/spool/amavisd/quarantine'
I've tries with this amavisd configs:
A) $final_spam_destiny = D_DISCARD/D_PASS;
$spam_quarantine_method = 'local:';
$spam_quarantine_to = 'spam-quarantine';
B) $final_spam_destiny = D_PASS/D_DISCARD;
$spam_quarantine_method = 'local:spam/%Y-%m-%d/%m.eml';
$spam_quarantine_to = undef;
C) $final_spam_destiny = D_PASS;
$spam_quarantine_method = 'local:spam/%Y-%m-%d/%m.eml';
#$spam_quarantine_to = undef;
Can anyone comment about the right config?
Thank you in advance,
Tinatiuh
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.