options = {
	filters = ["spf", "dkim", "regexp"]
	url_tld = "${TESTDIR}/../lua/unit/test_tld.dat"
	pidfile = "${TMPDIR}/rspamd.pid";
	lua_path = "${INSTALLROOT}/share/rspamd/lib/?.lua";
	dns {
	nameserver = ["8.8.8.8", "8.8.4.4"];
      retransmits = 10;
      timeout = 2s;
	}
}
logging = {
	log_urls = true;
	type = "file",
	level = "debug"
	filename = "${TMPDIR}/rspamd.log";
	log_usec = true;
}
metric = {
	name = "default",
	actions = {
		reject = 100500,
	}
	unknown_weight = 1
}

worker {
	type = normal
	bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL}
	count = 1
	keypair {
		pubkey = "${KEY_PUB1}";
		privkey = "${KEY_PVT1}";
	}
	task_timeout = 10s;
}

worker {
        type = controller
        bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER}
        count = 1
        secure_ip = ["127.0.0.1", "::1"];
        stats_path = "${TMPDIR}/stats.ucl"
}

modules {
    path = "${TESTDIR}/../../src/plugins/lua/"
}
lua = "${INSTALLROOT}/share/rspamd/rules/rspamd.lua"

