rmilter icon indicating copy to clipboard operation
rmilter copied to clipboard

Incomplete fix for bug #145

Open JKingweb opened this issue 8 years ago • 2 comments

Version 1.9.2 is supposed to have allowed empty lists per #145, but this does not seem to have been universally applied. The whitelist under the greylisting section when using rmilter 1.10.0 does not accept such an empty list, and I get a parse error:

bind_socket = inet:2112@localhost;

spamd {
	whitelist = ;
};

greylisting {
	whitelist = ;
};

With the following error in syslog:

rmilter[23449]: config file </etc/rmilter.conf.d/rmilter.conf> parse error! line: 8, text: ;, reason: syntax error

JKingweb avatar Jan 17 '17 00:01 JKingweb

Don't use greylisting in Rmilter.

vstakhov avatar Jan 17 '17 14:01 vstakhov

I wasn't planning on it. I discovered this because, as a first-time user of rspamd, I wanted to have empty whitelists for everything in rmilter.conf.common during rudimentary testing (as my test messages were getting whitelisted and rspamd was never running), and I happened to put the greylisting section first, initially. Thus I spent time trying to figure out what was wrong, why the documentation led me astray, whether this bug had been reported, whether it was a regression... It would have saved me a lot of trouble had the allowed syntax simply been consistent.

JKingweb avatar Jan 17 '17 14:01 JKingweb