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