Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] ldap support

2005-11-14 by Emmanuel Dreyfus

On Mon, Nov 14, 2005 at 10:03:01AM -0600, Ken Serrine wrote:
> So, my query may just be (rcpt=whatever@...), but others may 
> need (&(addr=10.0.0.1)(from=pat@...)(rcpt=chris@...)).
> But, if one mixes these two into the same directory, then we have to 
> account for a whole new level of logic.

I'm not sure I fully understand the query we can send to a LDAP directory.
Would it make sense to have such a greylist.conf:

acl ldap rcpt user@...
acl greylist default

If the recipient matches a acl ldap rcpt line, we query the directory for 
(from, addr, domain) about user@.... We get whitelist or greylist 
(or blacklist if I ever finish implementing it), or no match. if we get
a match, we have the answer, if we don't, we move to next ACL line.

Does that make sense?

Then we could also have acl ldap domain, acl ldap addr and acl ldap from
clauses. It doesn't seem possible to me to mix multiple clauses on an 
acl ldap line.

-- 
Emmanuel Dreyfus
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.