1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
options = { filters = "spf" pidfile = "${TMPDIR}/rspamd.pid" } logging = { type = "file", level = "debug" filename = "${TMPDIR}/rspamd.log" } worker "rspamd_proxy" { bind_socket = "${LOCAL_ADDR}:${PORT_PROXY}"; upstream { name = "${LOCAL_ADDR}"; default = yes; hosts = "${LOCAL_ADDR}:${PORT_NORMAL}"; } count = 1; }