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-28 by Bob Smith

manu@... wrote:
> 
> 
> Bob Smith <bsmith@... <mailto:bsmith%40sudleyplace.com>> 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.

Sorry, but I must be really thick.  How is that Sendmail does a lookup 
on the DNS entry for (say) foo.dynip.com when that text never appears in 
the email?  At what point does any part of the system obtain the IP 
address for foo.dynip.com when the only place it appears is in

racl whitelist domain foo.dynip.com

-- 
_______________________________________________________________
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.