Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] new features

2004-05-26 by Emmanuel Dreyfus

On Wed, May 26, 2004 at 04:29:03PM +0200, Matthieu Herrb wrote:
> Make the config file parser a bit more robust. I got caught a couple of 
> times after manually adding a whitelist entry with a (unwanted) syntax 
> error (like ommitting the addr keyword): when milter-greylist reloads 
> the configuration file it continues with some unpredictables behaviour 
> (it looks like it considers everything as white listed, but I'm not sure).

I can see only one explanation for that: it beileived x.x.x.x/0 was 
whitelisted. We could probably have a particular test to catch that, 
because nobody ever want to whitelist the whole IPv4 address space..
 
> I'd prefer if it could parse the file once for syntax, and then only 
> load it if correct (and bail loudly in syslog if an error is found).

Do you see how to implement this easily?

-- 
Emmanuel Dreyfus
manu@...

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.