1 (edited by ColdAsIce 2012-08-15 01:23:17)

Topic: Block all incoming emails that contain specific words

==== Required information ====
- iRedMail version: 0.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: Centos 6.3 x64
- Related log if you're reporting an issue:
====
Sincer last night all my clients have been spammed with almost the same email; i`ve checked all the emails and they all come from different ips ( i already blocked them with iptables but the list is getting big hour by hour - almost 120 ips blocked so far );
Is there any way to block all incoming emails for all domains that contain some specific words ? ( europajobbs.com in my case )
Thanks

----

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

2

Re: Block all incoming emails that contain specific words

You can try either Postfix header_checks(5), body_checks(5), or SpamAssassin rules to block these emails.

SpamAssassin rule file is /etc/mail/spamassassin/local.cf on CentOS.