1

Topic: Blacklist (or move to junk folder) based on Subject: contents

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

How to blacklist a message based on a string in the email Subject: header? If this is not possible, can we use something like Sieve server-side rules to move messages into a Junk folder?

Thanks!

----

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

2

Re: Blacklist (or move to junk folder) based on Subject: contents

If you want to block it in smtp session (before Postfix queues it), you need 'header_checks =' in Postfix:
http://www.postfix.org/postconf.5.html#header_checks

Sieve rule is ok too, use the webmail (Settings -> Filters) to create a rule.