Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] parse / reload bug

2004-11-10 by Brent J. Nordquist

On Wed, Nov 10, 2004 at 12:57:35PM +0100, Klas Heggemann wrote:
> However i missed to add a newline last, which resulted in that
> the whole configuration file was discarded. The error is
> 
> unknown token "#" line 155
> 
> (which is last line with no newline)
> 	
> This resulted in no whitelistiing of our local hosts, and a default 
> greylist timeout in 30 minutes :-(

Yeah; I discovered the same kind of thing. I'm supposed to be working
on a patch to change this behavior (see list archive, a few days ago);
a few things came up at work that I've had to spend time on first.

> I've hacked a -c flag to the milter-greylist, which checks the config 
> file,
> but does not start the deamon. Since conf_load does not return any 
> status,
> exit status will always be the same, so you have to check out for the 
> errors
> you self. This is a trival fix, but I can send a patch if you want.

Yes, would you please? Most helpful if it applies cleanly against
stock 1.5.11. Thanks!

-- 
Brent J. Nordquist <b-nordquist@...> N0BJN
Other contact information: http://kepler.its.bethel.edu/~bjn/contact.html

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.