Yahoo Groups archive

Milter-greylist

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

Thread

Greylisting "upgrade" from triplet to host-only

Greylisting "upgrade" from triplet to host-only

2014-02-03 by Jim Klimov

Hello all,

   I was asked if milter-greylist can (like SQLGrey allegedly can)
build greylisting filter by triplets IP/rcpt/sender first, but
after whitelisting a threshold amount of senders from the same
host (or domain?) - it would add the source host (or domain) to
the single-field whitelist and accept any remote senders to any
local recipients?

   I believe there is now only a toggle between such two modes
(either one or another), and the threshold value seems like an
interesting feature upgrade.

Thanks,
//Jim Klimov

Re: [milter-greylist] Greylisting "upgrade" from triplet to host-only

2014-02-03 by Emmanuel Dreyfus

On Mon, Feb 03, 2014 at 01:42:02PM +0100, Jim Klimov wrote:
>    I believe there is now only a toggle between such two modes
> (either one or another), and the threshold value seems like an
> interesting feature upgrade.

Sure it would be interesting. You could make the thing more flexible
by allowing regex and subnet masks to be specified as tuple member
from an ACL action clause

Just pick a character invalid both in e-mail and IP address, and you
would get somthing like this:
racl greylist ... tuple "/@example\.net$/|user@...|192.0.2.1/32"

Of course the thing would be subject to format strings, hence the default
greylisting behavior would be: tuple "%f|%r|%i/32"

-- 
Emmanuel Dreyfus
manu@...

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.