Black list on header value?

Glenn Steen glenn.steen at
Mon Sep 13 12:41:17 IST 2010

On 13 September 2010 12:52, Hugo van der Kooij <hvdkooij at> wrote:
> 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
> anything,
>> 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
> per-user
>> or domain basis - it's all or nothing.  Given this limitation, is there
> any
>> way I can use a black list rule to prevent MailScanner rescanning
> messages
>> 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.
> Hugo.
So why not DISCARD instead? Should be safe enough:-). Unless there is
a margin for error, and then you need accept/handle them, in which
case things start to look a bit... hairy...:/

-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

More information about the MailScanner mailing list