Black list on header value?

Hugo van der Kooij hvdkooij at
Mon Sep 13 11:52:59 IST 2010

On Mon, 13 Sep 2010 19:14:04 +1000, James Gray <james at> wrote:
> Hi All,
> I've done a bit of digging through the archives and didn't find
> so I'll ask anyway - but first some background.  I have an upstream
> provider who uses SpamAssassin and I can't enable/disable it on a
> or domain basis - it's all or nothing.  Given this limitation, is there
> way I can use a black list rule to prevent MailScanner rescanning
> already flagged as spam by the upstream??  Specifically, I want to
> blacklist on the "X-Spam-Flag: YES" header.

I know you can use checks like this in postfix. But my normal blacklisting
entries use a REJECT policy there and you definity don't want to REJECT
them as it will result in a a spam bouncer.


hvdkooij at

More information about the MailScanner mailing list