1 (edited by mharvester 2014-09-03 01:19:17)

Topic: Copy all mails marked as ***SPAM*** to specified maildir

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP-PRO 2.1.2
- Linux/BSD distribution name and version: CentOS 6.5
- Related log if you're reporting an issue: N/A
====

How can I make "on the fly" coping of all incoming (from local users and inet) marked by amavis/spamassasin as SPAM messages  to a specified maildir? Not only "my" messages (this done through dovecot sieve) but all server`s incoming.

I want spam emails quarantine too, so spam_quarantine_to is not applicable.

Thanks for help.

----

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

2

Re: Copy all mails marked as ***SPAM*** to specified maildir

Amavisd provides parameter 'recipient=' while releasing quarantined email. Check this tutorial:
http://www.amavis.org/README.protocol.txt (Search "Releasing a message from a quarantine")

Unfortunately, iRedAdmin-Pro doesn't support specify addition recipient while releasing quarantined mail. Maybe in future release.

3 (edited by mharvester 2014-09-03 13:45:13)

Re: Copy all mails marked as ***SPAM*** to specified maildir

ZhangHuangbin wrote:

Amavisd provides parameter 'recipient=' while releasing quarantined email.

Thank you Zhang for the support. On releasing action is not exactly what I need. More likely I have to dig @spam_quarantine_to_map / @addr_extension_spam_maps. I`ll try, any help welcome smile