rmilter icon indicating copy to clipboard operation
rmilter copied to clipboard

spamd_temp_fail causes syntax error

Open dimejo opened this issue 7 years ago • 3 comments

rmilter v1.10.0 on CentOS 7.3.1611

rmilter fails to start with this error message: rmilter[16471]: config file </etc/rmilter/rmilter.conf.local> parse error! line: 60, text: spamd_temp_fail, reason: syntax error

The relevant part of the configuration file:

spamd {
        # servers - spamd socket definitions in format:
        # /path/to/file
        # host[:port]
        # sockets are separated by ','
        # if server name is prefixed with r: it is rspamd server
        # Default: empty
        servers = r:localhost:11333;

        # whitelist - list of ips or nets that should be not checked with spamd
        # Default: empty
        #whitelist = 127.0.0.1/32, [::1]/128;
        whitelist = ;

        # extended_spam_headers: add extended Rspamd headers to messages NOT originated
        # from authenticated users or our_networks, is useful for debugging or
        # private mail servers (flag)
        # Default: false
        extended_spam_headers = true;

        # spamd_never_reject: never reject a message even if Rspamd action is reject,
        # add header instead (flag)
        # Default: false
        spamd_never_reject = true;

        # spamd_temp_fail: return temporary failure if spam servers could not be
        # reached (ignore otherwise) (flag)
        # Default: false
        spamd_temp_fail = true;
};

The start fails no matter what I set (true, false, "string" or empty). The erro is gone when spamd_temp_fail is commented out.

It's probably some stupid mistake on my side ...

dimejo avatar Jan 16 '17 17:01 dimejo

This option has been removed.

vstakhov avatar Jan 16 '17 17:01 vstakhov

It is still listed in the documentation.

dimejo avatar Jan 16 '17 17:01 dimejo

Just broke my rmilter instance attempting to use this option. Documentation needs to be updated.

rmiddle avatar Mar 18 '17 16:03 rmiddle