1 (edited by arturs.paipals 2013-08-08 15:07:30)

Topic: check body for spam, block sender

======== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: DEBIAN 7
====

Hi, i have one question. I want to make spam filter that blocks individual senders, also check mail body for specified words "lottery...",  and resolved spam quarantine to posmaster@mydomain..com

At the moment i alreay receive spam letters in postmaster email, simply, I want improve spam filter but don't know how.

----

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

2

Re: check body for spam, block sender

You can try either one:

*) Update SpamAssassin config file (/etc/mail/spamassassin/local.cf) to detect certain words/senders and increase its score.
*) Use Postfix parameter 'header_checks' and 'body_checks'. Reference: http://www.postfix.org/header_checks.5.html