From c5f280e20a8e3ecd5f016b8fb34a436588915ed2 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sat, 24 Jan 2015 23:42:59 +0000 Subject: Support Rspamd. Patch from Andrew Lewis, lightly editorialised by JH. Bug 1573 --- test/confs/4008 | 37 +++++++++++++++++++++++++++++++++++++ test/confs/4009 | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 test/confs/4008 create mode 100644 test/confs/4009 (limited to 'test/confs') 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 -- cgit v1.2.3