Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] combine blacklists

2014-03-20 by lists-yahoogroups@localguru.de

Hi Emmanuel,

On Thu, 20 Mar 2014 02:12:04 +0100, manu@... wrote:
> 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"

Ah, that looks good, thanks. Is something like

  racl continue rset $score=0
  racl continue rset $listname=""
  racl continue dnsrbl "A" set $score+=1 $listname="$listname A"
  racl continue dnsrbl "B" set $score+=1 $listname="$listname B"
  ...
  racl blacklist $score >= 2 msg "you hit %P{score} on %P{listname}
DNSRBLs"

possible to get to know in which lists the IP was found?

Ciao
Marcus

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.