Topic: How can i redirect letters marked as spam into another mailbox
======== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: CentOS 7 x64
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====
I have in /etc/postfix/main.cf:
header_checks = regexp:/etc/postfix/header_checks
and in /etc/postfix/header_checks
/^X-Spam-Flag: YES/ REDIRECT spam@mydomain.com
but it's absolutely not working for me!
Why not working "header_checks" in /etc/postfix/main.cf ?
How can i redirect letters marked as SPAM into another mailbox?
Thanks.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.