Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] How To Whitelist a Dynamic IP Sender?

2008-02-27 by Bob Smith

Emmanuel Dreyfus wrote:
> 
> 
> On Wed, Feb 27, 2008 at 10:23:04AM -0500, Bob Smith wrote:
>  > > racl whitelist domain foo.dynip.com
>  > I thought that mechanism matches the text "foo.dynip.com" to the base of
>  > all sending domains.
> 
> The domain clause match against the DNS address of the sender machine.

I've been thinking about this and am even more confused.

Q1.  Does the domain match do a DNS lookup to get the matching IP 
address each time it is asked to compare against the sender's IP address?

Q2.  I looked at the code in acl.c and it appears that the match routine 
for "domain" is acl_domain_cmp which compares two strings, 
back-to-front.  I don't see any DNS lookup there.  You certainly know 
the code much, much better than I do, so what am I missing?

-- 
_______________________________________________________________
Bob Smith - bsmith@... - http://www.sudleyplace.com

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.