Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] bug in "acl whitelist domain"

2005-06-08 by manu@netbsd.org

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

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.