diff options
author | Andrew Lewis <exim@judo.za.org> | 2015-01-24 23:42:59 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-01-25 17:39:41 +0000 |
commit | c5f280e20a8e3ecd5f016b8fb34a436588915ed2 (patch) | |
tree | 25b88641a63e7f81b13f7e32f958ad4cec4bc973 /test/confs | |
parent | 84547130ee72174d019f557dcbc3b0cf42c5ac80 (diff) |
Support Rspamd. Patch from Andrew Lewis, lightly editorialised
by JH. Bug 1573
Diffstat (limited to 'test/confs')
-rw-r--r-- | test/confs/4008 | 37 | ||||
-rw-r--r-- | test/confs/4009 | 37 |
2 files changed, 74 insertions, 0 deletions
diff --git a/test/confs/4008 b/test/confs/4008 new file mode 100644 index 000000000..55c290333 --- /dev/null +++ b/test/confs/4008 @@ -0,0 +1,37 @@ +# Exim test configuration 4008 +# Content-scan: rspamd interface + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME +log_selector = +subject + +spamd_address = 127.0.0.1 11333 variant=rspamd + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_data = c_data + +begin acl + +c_data: + warn + spam = nobody + warn + log_message = $spam_action $spam_report + accept + +# ----- Routers ----- + +begin routers + +r: + driver = redirect + data = :blackhole: + +# End diff --git a/test/confs/4009 b/test/confs/4009 new file mode 100644 index 000000000..b635195b6 --- /dev/null +++ b/test/confs/4009 @@ -0,0 +1,37 @@ +# Exim test configuration 4009 +# Content-scan: spamassassin interface + +exim_path = EXIM_PATH +host_lookup_order = bydns +primary_hostname = myhost.test.ex +spool_directory = DIR/spool +log_file_path = DIR/spool/log/%slog +gecos_pattern = "" +gecos_name = CALLER_NAME +log_selector = +subject + +spamd_address = 127.0.0.1 7833 + +# ----- Main settings ----- + +acl_smtp_rcpt = accept +acl_smtp_data = c_data + +begin acl + +c_data: + warn + spam = nobody + warn + log_message = $spam_action $spam_report + accept + +# ----- Routers ----- + +begin routers + +r: + driver = redirect + data = :blackhole: + +# End |