TLS: pre-generate and load server selfsigned cert, when one is to be used
[users/heiko/exim.git] / test / confs / 0611
1 # Exim test configuration 0611
2 # max_parallel on transport
3
4 SERVER=
5
6 exim_path = EXIM_PATH
7 keep_environment =
8 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 spool_directory = DIR/spool
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14 chunking_advertise_hosts =
15
16 .ifdef _HAVE_DMARC
17 dmarc_tld_file =
18 .endif
19
20 # ----- Main settings -----
21
22 log_file_path = DIR/spool/log/${if eq {SERVER}{server} {server_}{}}%slog
23
24 qualify_domain = test.ex
25 queue_run_in_order
26 log_selector = +received_recipients
27
28 acl_smtp_rcpt = accept ${if eq {SERVER}{server} {delay = 2s}}
29
30 # ----- Routers -----
31
32 begin routers
33
34 server:
35   condition = ${if eq {SERVER}{server} {yes}{no}}
36   driver = redirect
37   data = :blackhole:
38
39 rmt_client:
40   local_parts = a:b:c
41   driver =      manualroute
42   route_list =  * 127.0.0.1
43   self =        send
44   transport =   smtp
45
46 lcl_client:
47   local_parts = x:y:z
48   driver =      accept
49   transport =   pipe
50
51 # ----- Transports -----
52
53 begin transports
54
55 smtp:
56   driver =      smtp
57   port =        PORT_D
58   hosts_try_fastopen = :
59   max_rcpt =    1
60   connection_max_messages = 1
61   max_parallel = 2
62
63 pipe:
64   driver =      pipe
65   command =     "sleep 2; cat > /dev/null"
66   use_shell =   true
67   max_parallel = 1
68
69 # ----- Retry -----
70
71
72 begin retry
73
74 * * F,1h,10m
75
76
77 # End