SOCKS: fix build on OpenBSD
[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 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/SERVER%slog
12 gecos_pattern = ""
13 gecos_name = CALLER_NAME
14
15 # ----- Main settings -----
16
17 log_selector = +outgoing_port
18
19 acl_smtp_rcpt = accept
20
21 queue_only
22 queue_run_in_order
23
24 # Set certificate only if server
25
26 tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27 tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
28
29 tls_advertise_hosts = HOSTIPV4
30
31
32 # ----- Routers -----
33
34 begin routers
35
36 client:
37   driver = accept
38   condition = ${if eq {SERVER}{server}{no}{yes}}
39   retry_use_local_part
40   transport = send_to_server
41
42
43 # ----- Transports -----
44
45 begin transports
46
47 send_to_server:
48   driver = smtp
49   allow_localhost
50   hosts = HOSTS
51   hosts_require_tls = *
52   port = PORT_D
53
54
55 # ----- Retry -----
56
57 begin retry
58
59 * tls_required  TIMES
60 * *  F,1d,5m
61
62 # End