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