Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Using ACLs for blacklisting

2005-06-30 by Matt Kettler

Emmanuel Dreyfus wrote:
> On Thu, Jun 30, 2005 at 11:05:01AM +0100, Matthias Scheler wrote:
> 
>>BTW: how difficult would it be to add a "acl" filter for the "HELO" parameter?
>>
>>I'm thinking of adding something like ...
>>
>>acl blacklist helo zhadum.de
>>
>>... to my setup.
> 
> 
> I feel the smell of bloatware :-)

I would agree, but this should be a fairly lightweight feature, and has lots of
flexibility a separate milter would not have.

> 
> An other approach would be to write a second milter, called milter-acl, 
> which would reuse milter-greylist's ACL code to only handle blacklist
> and whitelist.
> 
> What are the benefit of having both functionnalities in the same milter?

Read the thread from the top up.. it's all about order-of-operations.

Think about how you'd get this effect using your solution.

(pardon the pseudo-code notation, it's done for simplicity)

white user@...
grey [a-z]{0,9}@...
black *@...
grey *@...


You couldn't. The inter-woven iterations of white, grey, and black here are
impossible to reproduce without being one milter.

I can come up with considerably more complex ACLs here that would back-and-forth
the features numerous times for the same domain, breaking out sub-classes of
users, etc.

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.