Matt Kettler wrote on Wed, 14 Dec 2005 12:05:13 -0500: > Are you sure? It isn't a regex, but that doesn't mean it can't be a substring > match, and substrings WILL match in the middle. > > I'm pretty sure that milter-greylist does substring-matching, not end-of-string > matching. Surprise, it doesn't do neither of this. I just checked the code and what it does is a 1:1 c-style comparison (domaincmp() in acl.c). So, it only matches *exactly*, nothing else. If I want to include subdomains I better put them in ;-) Anyway, for now I have been using IP addresses only. Regex matching is done by regexec() which must be provided by some external library. I'm not familiar with Linux libaries, so I don't know how it exactly works, but I assume your explanation above applies, so *if* a regex is used a $ at the end might be handy. Kai -- Kai Sch\ufffdtzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com
Message
Re: [milter-greylist] milter-greylist 2.0.2 forgets its whitelist
2005-12-14 by Kai Schaetzl
Attachments
- No local attachments were found for this message.