We are running greylist-milter version 1.5.10 + some patches. Yesterday I added the extra ebay range to the config file, installed and checked the syslog file which reported that it was reloaded. 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 :-( When doing a restart of the milter, the error is reported on stderr. 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. (A simular but not as fatal error is when you use '/' in a comment addr 130.237..0./16 # our net / and more which results in error at line 156: parse error ) Klas Heggemann
Message
parse / reload bug
2004-11-10 by Klas Heggemann
Attachments
- No local attachments were found for this message.