> On Feb 11, 2016, at 9:17 AM, Sebastian Nielsen <sebast...@sebbe.eu> wrote: > > Is it anyway I can in postfix, use a simple rule to DISCARD all email > containing the text ” #364811”? > (Its a HTML color being used in a lot (>95%) of spams currently arriving in > my server, and that color do not change).
You’d want to use a content filter that receives the mail, scans it for the offending text, and then re-queues the mail. It’s the same way SpamAssassin works. http://www.postfix.org/FILTER_README.html <http://www.postfix.org/FILTER_README.html>