summaryrefslogtreecommitdiff
path: root/test/confs/2109
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:34:24 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-07 10:34:24 +0000
commitafda344b580b54a4513569720aec3260cd5ba546 (patch)
tree6318744c7d3f502ee72bcd20bab0f612c5dceacf /test/confs/2109
parent9ba4af2b76958e076a0c002e53ead87ed7a47a68 (diff)
More new test committing.
Diffstat (limited to 'test/confs/2109')
-rw-r--r--test/confs/210965
1 files changed, 65 insertions, 0 deletions
diff --git a/test/confs/2109 b/test/confs/2109
new file mode 100644
index 000000000..afbb03d5d
--- /dev/null
+++ b/test/confs/2109
@@ -0,0 +1,65 @@
+# Exim test configuration 2109
+
+SERVER =
+
+exim_path = EXIM_PATH
+host_lookup_order = bydns
+primary_hostname = myhost.test.ex
+rfc1413_query_timeout = 0s
+spool_directory = DIR/spool
+log_file_path = DIR/spool/log/SERVER%slog
+gecos_pattern = ""
+gecos_name = CALLER_NAME
+
+# ----- Main settings -----
+
+acl_smtp_rcpt = check_recipient
+hostlist tls_hosts = 127.0.0.1
+
+queue_only
+queue_run_in_order
+
+tls_advertise_hosts = *
+
+# Set certificate only if server
+
+tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
+
+
+
+# ----- ACL -----
+
+begin acl
+
+check_recipient:
+ deny hosts = +tls_hosts
+ message = encryption required
+ !encrypted = *
+ accept domains = +local_domains
+ deny message = relay not permitted
+
+
+# ----- Routers -----
+
+begin routers
+
+client:
+ driver = accept
+ condition = ${if eq {SERVER}{server}{no}{yes}}
+ retry_use_local_part
+ transport = send_to_server
+
+
+# ----- Transports -----
+
+begin transports
+
+send_to_server:
+ driver = smtp
+ allow_localhost
+ hosts = 127.0.0.1
+ hosts_avoid_tls = 127.0.0.1
+ port = PORT_D
+
+# End