> > 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. I understand that, but .. > You are probably right to do it that way. .. as the odd substring matching behaviour was never documented like that, as no one seems to be interested in it, and as going from 1.6 to 2.0 is a new major release which valids some minor changes in behaviour, I think it's the way to go. The similar behaviour in emailcmp (for "rcpt" options) in 1.6 had resulted in some debugging for me when starting to use milter-greylist, too. I was running in testmode with an "rcpt ian@..." clause in greylist.conf, and wondered why mails to marian@... got greylisted, too, until I found out that it matches substrings .. mp.
Message
Re: [milter-greylist] bug in "acl whitelist domain"
2005-06-09 by Martin Paul
Attachments
- No local attachments were found for this message.