rmilter
rmilter copied to clipboard
Incomplete fix for bug #145
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
Don't use greylisting in Rmilter.
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.