Martin Paul <martin@...> wrote: > There's one functional difference between our two implementations > of domaincmp() - yours matches any hostname that contains domain > anywhere (/^.*domain.*$/), mine matches from the end to the beginning > (/^.*domain$). I would much prefer the behaviour of my function - > a hostname "worldnet.att.com" would match a domain "net.at" with > your function, which is terribly confusing IMHO. I'd leave substring > matching to regexps. I hope you agree. My goal was to preserve the historic (but odd) behaviour. You are probably right to do it that way. -- Emmanuel Dreyfus Publicité subliminale: achetez ce livre! http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php manu@netbsd.org
Message
Re: [milter-greylist] bug in "acl whitelist domain"
2005-06-08 by manu@netbsd.org