New variable $config_dir, $config_file. Bug 1553
[users/heiko/exim.git] / test / confs / 2010
1 # Exim test configuration 2010
2
3 SERVER =
4 TIMES =
5 HOSTS = 127.0.0.1 : HOSTIPV4
6
7 exim_path = EXIM_PATH
8 host_lookup_order = bydns
9 primary_hostname = myhost.test.ex
10 rfc1413_query_timeout = 0s
11 spool_directory = DIR/spool
12 log_file_path = DIR/spool/log/SERVER%slog
13 gecos_pattern = ""
14 gecos_name = CALLER_NAME
15
16 # ----- Main settings -----
17
18 acl_smtp_rcpt = accept
19
20 queue_only
21 queue_run_in_order
22
23 # Set certificate only if server
24
25 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27
28 tls_advertise_hosts = HOSTIPV4
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 client:
36   driver = accept
37   condition = ${if eq {SERVER}{server}{no}{yes}}
38   retry_use_local_part
39   transport = send_to_server
40
41
42 # ----- Transports -----
43
44 begin transports
45
46 send_to_server:
47   driver = smtp
48   allow_localhost
49   hosts = HOSTS
50   hosts_require_tls = *
51   port = PORT_D
52
53
54 # ----- Retry -----
55
56 begin retry
57
58 * tls_required  TIMES
59 * *  F,1d,5m
60
61 # End