Events: dns:fail Bug 3011
[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 .ifdef _HAVE_DMARC
17 dmarc_tld_file =
18 .endif
19
20 # ----- Main settings -----
21
22 acl_smtp_rcpt = check_rcpt
23 log_selector = +tls_peerdn
24
25
26 tls_advertise_hosts = HOSTIPV4
27 tls_certificate = DIR/aux-fixed/cert1
28 tls_privatekey = DIR/aux-fixed/cert1
29
30
31 # ----- ACLs -----
32
33 begin acl
34
35 check_rcpt:
36   accept  local_parts = userx
37           control = queue_only
38
39   defer   local_parts = usery
40           hosts       = 127.0.0.1
41
42   accept  control = queue_only
43
44 # ----- Routers -----
45
46 begin routers
47
48 r0:
49   driver = accept
50   condition = ${if !eq {$sender_host_address}{}}
51   transport = t2
52
53 r1:
54   driver = accept
55   transport = t1
56
57
58 # ----- Transports -----
59
60 begin transports
61
62 t1:
63   driver = smtp
64   hosts = 127.0.0.1 : HOSTIPV4
65   port = PORT_D
66   hosts_try_fastopen =  :
67   allow_localhost
68
69 t2:
70   driver = appendfile
71   file = /dev/null
72   user = CALLER
73
74 # End