| 1 | # Exim test configuration 4008 |
| 2 | # Content-scan: rspamd interface |
| 3 | |
| 4 | exim_path = EXIM_PATH |
| 5 | host_lookup_order = bydns |
| 6 | primary_hostname = myhost.test.ex |
| 7 | spool_directory = DIR/spool |
| 8 | log_file_path = DIR/spool/log/%slog |
| 9 | gecos_pattern = "" |
| 10 | gecos_name = CALLER_NAME |
| 11 | tls_advertise_hosts = |
| 12 | log_selector = +subject |
| 13 | |
| 14 | spamd_address = 127.0.0.1 11333 variant=rspamd |
| 15 | |
| 16 | # ----- Main settings ----- |
| 17 | |
| 18 | acl_smtp_rcpt = accept |
| 19 | acl_smtp_data = c_data |
| 20 | |
| 21 | begin acl |
| 22 | |
| 23 | c_data: |
| 24 | warn |
| 25 | spam = nobody |
| 26 | warn |
| 27 | log_message = $spam_action $spam_report |
| 28 | accept |
| 29 | |
| 30 | # ----- Routers ----- |
| 31 | |
| 32 | begin routers |
| 33 | |
| 34 | r: |
| 35 | driver = redirect |
| 36 | data = :blackhole: |
| 37 | |
| 38 | # End |