summaryrefslogtreecommitdiff
path: root/test/confs/4503
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2016-01-05 14:54:02 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2016-01-05 16:46:36 +0000
commit69a70afa8b22ee4ee72ccf583db2efd249e36721 (patch)
tree831d90de73dca71dba10edd9e73a18f95c295b7f /test/confs/4503
parent59b87190a41a0ac34aee74edfff9184785a73485 (diff)
DKIM: fix base64 decode to ignore whitespace; needed for private-key input
from file. Use this for general-purpose b64decode also. Testsuite: DKIM signing testcase
Diffstat (limited to 'test/confs/4503')
-rw-r--r--test/confs/450347
1 files changed, 47 insertions, 0 deletions
diff --git a/test/confs/4503 b/test/confs/4503
new file mode 100644
index 000000000..e9f2d5d47
--- /dev/null
+++ b/test/confs/4503
@@ -0,0 +1,47 @@
+# Exim test configuration 4503
+
+SERVER=
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+primary_hostname = myhost.test.ex
+spool_directory = DIR/spool
+log_file_path = DIR/spool/log/SERVER%slog
+gecos_pattern = ""
+gecos_name = CALLER_NAME
+tls_advertise_hosts =
+
+# ----- Main settings -----
+
+log_selector = +outgoing_port
+acl_smtp_rcpt = accept
+acl_smtp_dkim = accept logwrite = signer: $dkim_cur_signer bits: $dkim_key_length
+
+# ----- Routers
+
+begin routers
+
+server_dump:
+ driver = redirect
+ condition = ${if eq {SERVER}{server}{yes}{no}}
+ data = :blackhole:
+
+client:
+ driver = accept
+ transport = send_to_server
+
+# ----- Transports
+
+begin transports
+
+send_to_server:
+ driver = smtp
+ allow_localhost
+ hosts = HOSTIPV4
+ port = PORT_D
+
+ dkim_domain = test.ex
+ dkim_selector = sel
+ dkim_private_key = DIR/aux-fixed/dkim/dkim.private
+
+# End