102 changed files with 639 additions and 689 deletions
-
2test/functional/cases/100_general.robot
-
2test/functional/cases/101_lua.robot
-
6test/functional/cases/102_multimap.robot
-
2test/functional/cases/103_password.robot
-
6test/functional/cases/104_get_from.robot
-
6test/functional/cases/105_mimetypes.robot
-
10test/functional/cases/106_mid.robot
-
7test/functional/cases/108_settings.robot
-
10test/functional/cases/109_composites.robot
-
12test/functional/cases/110_statistics/lib.robot
-
7test/functional/cases/110_statistics/redis-keyed-siphash.robot
-
7test/functional/cases/110_statistics/redis-keyed-xxhash.robot
-
5test/functional/cases/110_statistics/redis-plain-siphash.robot
-
5test/functional/cases/110_statistics/redis-plain-xxhash.robot
-
6test/functional/cases/114_phishing.robot
-
6test/functional/cases/115_dmarc.robot
-
6test/functional/cases/116_dkim.robot
-
6test/functional/cases/117_spf.robot
-
44test/functional/cases/120_fuzzy/lib.robot
-
2test/functional/cases/121_json/100_preresult.robot
-
2test/functional/cases/121_json/101_simple.robot
-
3test/functional/cases/121_json/lib.robot
-
6test/functional/cases/123_whitelist.robot
-
2test/functional/cases/125_map_reload.robot
-
15test/functional/cases/131_dkim_signing/001_simple.robot
-
12test/functional/cases/131_dkim_signing/002_redis.robot
-
15test/functional/cases/131_dkim_signing/003_eddsa.robot
-
6test/functional/cases/131_dkim_signing/004_invalidate_key.robot
-
15test/functional/cases/131_dkim_signing/005_multiple.robot
-
8test/functional/cases/131_dkim_signing/006_milter.robot
-
15test/functional/cases/131_dkim_signing/007_sign_maps.robot
-
10test/functional/cases/135_spamassassin.robot
-
36test/functional/cases/140_proxy.robot
-
7test/functional/cases/160_antivirus.robot
-
7test/functional/cases/161_p0f.robot
-
8test/functional/cases/162_url_redirector.robot
-
5test/functional/cases/180_milter.robot
-
7test/functional/cases/220_http.robot
-
2test/functional/cases/230_tcp.robot
-
7test/functional/cases/231_tcp_down.robot
-
17test/functional/cases/240_redis.robot
-
21test/functional/cases/241_redis_is_dead.robot
-
2test/functional/cases/250_dns.robot
-
16test/functional/cases/260_regex.robot
-
8test/functional/cases/270_selector.robot
-
6test/functional/cases/280_rules.robot
-
17test/functional/cases/281_fnames.robot
-
6test/functional/cases/290_greylist.robot
-
6test/functional/cases/300_rbl.robot
-
7test/functional/cases/310_udp.robot
-
15test/functional/cases/320_arc_signing/001_simple.robot
-
12test/functional/cases/320_arc_signing/002_redis.robot
-
6test/functional/cases/321_arc_check.robot
-
10test/functional/cases/330_neural/001_autotrain.robot
-
10test/functional/cases/330_neural/002_manualtrain.robot
-
6test/functional/cases/340_surbl.robot
-
115test/functional/cases/350_magic.robot
-
6test/functional/cases/360_force_actions.robot
-
12test/functional/configs/antivirus.conf
-
4test/functional/configs/arc.conf
-
4test/functional/configs/arc_signing/redis.conf
-
4test/functional/configs/arc_signing/simple.conf
-
16test/functional/configs/composites.conf
-
42test/functional/configs/dkim.conf
-
4test/functional/configs/dkim_signing/eddsa.conf
-
4test/functional/configs/dkim_signing/invalidate.conf
-
32test/functional/configs/dkim_signing/milter.conf
-
6test/functional/configs/dkim_signing/multiple.conf
-
4test/functional/configs/dkim_signing/redis.conf
-
4test/functional/configs/dkim_signing/sign_maps.conf
-
4test/functional/configs/dkim_signing/simple.conf
-
6test/functional/configs/dmarc.conf
-
0test/functional/configs/empty.conf
-
4test/functional/configs/force_actions.conf
-
2test/functional/configs/fuzzy-encryption-key.conf
-
55test/functional/configs/fuzzy.conf
-
4test/functional/configs/greylist.conf
-
14test/functional/configs/lua_script.conf
-
18test/functional/configs/lua_test.conf
-
6test/functional/configs/mid.conf
-
26test/functional/configs/milter.conf
-
6test/functional/configs/mime_types.conf
-
48test/functional/configs/multimap.conf
-
22test/functional/configs/neural.conf
-
22test/functional/configs/neural_noauto.conf
-
6test/functional/configs/p0f.conf
-
26test/functional/configs/password.conf
-
6test/functional/configs/phishing.conf
-
21test/functional/configs/plugins.conf
-
16test/functional/configs/proxy.conf
-
4test/functional/configs/rbl.conf
-
6test/functional/configs/redis.conf
-
18test/functional/configs/regexp.conf
-
4test/functional/configs/selector.conf
-
4test/functional/configs/settings.conf
-
8test/functional/configs/spamassassin.conf
-
34test/functional/configs/stats.conf
-
6test/functional/configs/surbl.conf
-
22test/functional/configs/trivial.conf
-
6test/functional/configs/url_redirector.conf
@ -1 +1,3 @@ |
|||
arc { } |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
arc { } |
|||
@ -1,8 +1,10 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
arc { |
|||
use_redis = true; |
|||
key_prefix = "TEST_DKIM_KEYS"; |
|||
selector_prefix = "TEST_DKIM_SELECTORS"; |
|||
} |
|||
redis { |
|||
servers = "${REDIS_ADDR}:${REDIS_PORT}"; |
|||
servers = "{= env.REDIS_ADDR =}:{= env.REDIS_PORT =}"; |
|||
} |
|||
@ -1,5 +1,7 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
dkim_signing { |
|||
path = "${TESTDIR}/configs/dkim-eddsa.key"; |
|||
path = "{= env.TESTDIR =}/configs/dkim-eddsa.key"; |
|||
selector = "eddsa"; |
|||
check_pubkey = true; |
|||
allow_pubkey_mismatch = false; |
|||
|
|||
@ -1,5 +1,7 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
dkim_signing { |
|||
path = "${KEY_DIR}/dkim-eddsa.key"; |
|||
path = "{= env.KEY_DIR =}/dkim-eddsa.key"; |
|||
selector = "eddsa"; |
|||
check_pubkey = true; |
|||
allow_pubkey_mismatch = false; |
|||
|
|||
@ -1,8 +1,10 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
dkim_signing { |
|||
use_redis = true; |
|||
key_prefix = "TEST_DKIM_KEYS"; |
|||
selector_prefix = "TEST_DKIM_SELECTORS"; |
|||
} |
|||
redis { |
|||
servers = "${REDIS_ADDR}:${REDIS_PORT}"; |
|||
servers = "{= env.REDIS_ADDR =}:{= env.REDIS_PORT =}"; |
|||
} |
|||
@ -1,6 +1,8 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
dmarc { } |
|||
spf { |
|||
external_relay = [ |
|||
"${TESTDIR}/configs/maps/external_relay_ip.list", |
|||
"{= env.TESTDIR =}/configs/maps/external_relay_ip.list", |
|||
]; |
|||
} |
|||
} |
|||
@ -0,0 +1,2 @@ |
|||
# Setting this to null does not work out so it's hidden in an include |
|||
encryption_key = {= env.FUZZY_ENCRYPTION_KEY =}; |
|||
@ -1,25 +1,25 @@ |
|||
options = { |
|||
pidfile = "${TMPDIR}/rspamd.pid" |
|||
pidfile = "{= env.TMPDIR =}/rspamd.pid" |
|||
} |
|||
logging = { |
|||
type = "file", |
|||
level = "debug" |
|||
filename = "${TMPDIR}/rspamd.log" |
|||
filename = "{= env.TMPDIR =}/rspamd.log" |
|||
} |
|||
|
|||
worker { |
|||
type = normal |
|||
bind_socket = ${LOCAL_ADDR}:${PORT_NORMAL} |
|||
bind_socket = "{= env.LOCAL_ADDR =}:{= env.PORT_NORMAL =}" |
|||
count = 1 |
|||
task_timeout = 60s; |
|||
} |
|||
worker { |
|||
type = controller |
|||
bind_socket = ${LOCAL_ADDR}:${PORT_CONTROLLER} |
|||
bind_socket = "{= env.LOCAL_ADDR =}:{= env.PORT_CONTROLLER =}" |
|||
count = 1 |
|||
secure_ip = ["127.0.0.1", "::1"]; |
|||
stats_path = "${TMPDIR}/stats.ucl" |
|||
stats_path = "{= env.TMPDIR =}/stats.ucl" |
|||
} |
|||
|
|||
lua = "${TESTDIR}/lua/test_coverage.lua"; |
|||
lua = ${LUA_SCRIPT}; |
|||
lua = "{= env.TESTDIR =}/lua/test_coverage.lua"; |
|||
lua = "{= env.LUA_SCRIPT =}"; |
|||
@ -1,9 +1,11 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
mid = { |
|||
source = { |
|||
url = [ |
|||
"https://maps.rspamd.com/rspamd/mid.inc.zst", |
|||
"fallback+file://${TESTDIR}/../../../conf/mid.inc", |
|||
"file://${TESTDIR}/configs/maps/mid.list" |
|||
"fallback+file://{= env.TESTDIR =}/../../../conf/mid.inc", |
|||
"file://{= env.TESTDIR =}/configs/maps/mid.list" |
|||
]; |
|||
} |
|||
} |
|||
@ -1,11 +1,13 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
phishing { |
|||
symbol = "PHISHING"; |
|||
strict_domains = { |
|||
STRICT_PHISHING = [ |
|||
"${TESTDIR}/configs/maps/strict.phishing", |
|||
"{= env.TESTDIR =}/configs/maps/strict.phishing", |
|||
]; |
|||
STRICTER_PHISHING = [ |
|||
"${TESTDIR}/configs/maps/stricter.phishing" |
|||
"{= env.TESTDIR =}/configs/maps/stricter.phishing" |
|||
] |
|||
} |
|||
} |
|||
@ -1,5 +1,7 @@ |
|||
lua = ${LUA_SCRIPT}; |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
lua = "{= env.LUA_SCRIPT =}"; |
|||
redis { |
|||
servers = "${REDIS_ADDR}:${REDIS_PORT}"; |
|||
servers = "{= env.REDIS_ADDR =}:{= env.REDIS_PORT =}"; |
|||
expand_keys = true; |
|||
} |
|||
@ -1,5 +1,7 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
spamassassin { |
|||
rules = "${TESTDIR}/configs/spamassassin.rules" |
|||
rules = "{= env.TESTDIR =}/configs/spamassassin.rules" |
|||
} |
|||
lua = "${TESTDIR}/lua/test_coverage.lua"; |
|||
lua = "${TESTDIR}/lua/simple.lua" |
|||
lua = "{= env.TESTDIR =}/lua/test_coverage.lua"; |
|||
lua = "{= env.TESTDIR =}/lua/simple.lua" |
|||
@ -1,6 +1,8 @@ |
|||
.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf" |
|||
|
|||
redis { |
|||
servers = "${REDIS_ADDR}:${REDIS_PORT}"; |
|||
servers = "{= env.REDIS_ADDR =}:{= env.REDIS_PORT =}"; |
|||
} |
|||
url_redirector { |
|||
redirector_hosts_map = "${TESTDIR}/configs/maps/redir.map"; |
|||
redirector_hosts_map = "{= env.TESTDIR =}/configs/maps/redir.map"; |
|||
} |
|||
Some files were not shown because too many files changed in this diff
Write
Preview
Loading…
Cancel
Save
Reference in new issue