Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] combine blacklists

2014-03-20 by Jim Klimov

On 2014-03-20 19:31, lists-yahoogroups@... wrote:
> 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?


IIRC it would be rather like
racl continue dnsrbl "B" set $score+=1 set $listname="%P{listname} B"

but yes, operations of this kind are possible.

Also note that is you later add "msg" or "log" into the mix (for the
same rule hit), there is a specific order in which these can be
specified, since some keywords are considered as clauses and others
are... different ;)

HTH,
//Jim

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.