Testsuite: Explicit disabling of identd no longer needed
[exim.git] / test / confs / 2107
1 # Exim test configuration 2107
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept
16
17 log_selector = +smtp_confirmation+tls_peerdn
18
19 queue_only
20 queue_run_in_order
21
22 tls_advertise_hosts = *
23
24 # Set certificate only if server
25
26 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28
29
30 # ----- Routers -----
31
32 begin routers
33
34 client:
35   driver = accept
36   condition = ${if eq {SERVER}{server}{no}{yes}}
37   retry_use_local_part
38   transport = send_to_server${if eq{$local_part}{abcd}{2}{1}}
39
40 server:
41   driver = accept
42   retry_use_local_part
43   transport = local_delivery
44
45
46 # ----- Transports -----
47
48 begin transports
49
50 local_delivery:
51   driver = appendfile
52   file = DIR/test-mail/$local_part
53   headers_add = TLS: cipher=$tls_cipher peerdn=$tls_peerdn
54   user = CALLER
55
56 send_to_server1:
57   driver = smtp
58   allow_localhost
59   hosts = 127.0.0.1
60   port = PORT_D
61
62 send_to_server2:
63   driver = smtp
64   allow_localhost
65   hosts = HOSTIPV4
66   port = PORT_D
67
68 # End