test/integration/configs/fuzzy_check.conf
raw| 1 | # Fuzzy check module configuration |
| 2 | |
| 3 | min_bytes = 100; |
| 4 | timeout = 5s; |
| 5 | retransmits = 3; |
| 6 | |
| 7 | rule "rspamd-integration" { |
| 8 | algorithm = "mumhash"; |
| 9 | servers = "rspamd:50003"; |
| 10 | |
| 11 | # Encryption settings |
| 12 | encryption_key = "{= env.FUZZY_ENCRYPTION_KEY =}"; |
| 13 | |
| 14 | # Fuzzy flags |
| 15 | fuzzy_map = { |
| 16 | FUZZY_SPAM { |
| 17 | max_score = 10.0; |
| 18 | flag = 1; |
| 19 | } |
| 20 | FUZZY_HAM { |
| 21 | max_score = 5.0; |
| 22 | flag = 2; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | min_length = 0; |
| 27 | min_bytes = 0; |
| 28 | read_only = false; |
| 29 | skip_unknown = true; |
| 30 | } |