Testsuite - Squashed commit of the following:
[exim.git] / test / confs / 2126
1 # Exim test configuration 2126
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = check_rcpt
17 log_selector = +tls_peerdn
18
19 tls_advertise_hosts = HOSTIPV4
20 tls_certificate = DIR/aux-fixed/cert1
21 tls_privatekey = DIR/aux-fixed/cert1
22
23
24 # ----- ACLs -----
25
26 begin acl
27
28 check_rcpt:
29   accept  local_parts = userx
30
31   defer   local_parts = usery
32           hosts       = 127.0.0.1
33
34   accept  delay       = 1s
35
36
37 # ----- Routers -----
38
39 begin routers
40
41 r0:
42   driver = accept
43   condition = ${if !eq {$sender_host_address}{}}
44   transport = t2
45
46 r1:
47   driver = accept
48   transport = t1
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 t1:
56   driver = smtp
57   hosts = 127.0.0.1 : HOSTIPV4
58   port = PORT_D
59   allow_localhost
60
61 t2:
62   driver = appendfile
63   file = /dev/null
64   user = CALLER
65
66 # End