More new test committing.
[exim.git] / test / confs / 2009
CommitLineData
afda344b
PH
1# Exim test configuration 2009
2
3SERVER =
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
8rfc1413_query_timeout = 0s
9spool_directory = DIR/spool
10log_file_path = DIR/spool/log/SERVER%slog
11gecos_pattern = ""
12gecos_name = CALLER_NAME
13
14# ----- Main settings -----
15
16acl_smtp_rcpt = check_recipient
17hostlist tls_hosts = 127.0.0.1
18
19queue_only
20queue_run_in_order
21
22tls_advertise_hosts = *
23
24# Set certificate only if server
25
26tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28
29
30
31# ----- ACL -----
32
33begin acl
34
35check_recipient:
36 deny hosts = +tls_hosts
37 message = encryption required
38 !encrypted = *
39 accept domains = +local_domains
40 deny message = relay not permitted
41
42
43# ----- Routers -----
44
45begin routers
46
47client:
48 driver = accept
49 condition = ${if eq {SERVER}{server}{no}{yes}}
50 retry_use_local_part
51 transport = send_to_server
52
53
54# ----- Transports -----
55
56begin transports
57
58send_to_server:
59 driver = smtp
60 allow_localhost
61 hosts = 127.0.0.1
62 hosts_avoid_tls = 127.0.0.1
63 port = PORT_D
64
65# End