Topic: Block emails marked as spam
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
I tried to block spam by adding to /etc/postfix/header_checks:
/X-SPAM-FLAG:.YES/ DISCARD spam message
or
/X-SPAM-FLAG: YES/ REJECT spam message
And still... marked email are not rejected.
p.s. in /etc/postfix/header_checks i have a lot of rejected emails from many domains and this works
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.