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 manu@netbsd.org

Bob Smith <bsmith@...> wrote:

> 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?

Sendmail does the DNS lookup and hands it to every milter. It makes much
more sense than having each milter performing the same DNS request ever
and ever.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
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.