Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] combine blacklists

2014-03-20 by manu@...

lists-yahoogroups@... <lists-yahoogroups@...> wrote:

> If I have a list of eg. four DNSRBLs and want to reject a message hit on
> two of them there is nothing like a counter, eg.

Try this:

racl continue rset $score=0
racl continue dnsrbl "A" set $score+=1
racl continue dnsrbl "B" set $score+=1
racl continue dnsrbl "C" set $score+=1
racl continue dnsrbl "D" set $score+=1
racl blacklist $score >= 2 msg "you hit %P{score} DNSRBL"

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.