Docs: fix URL
[users/jgh/exim.git] / test / confs / 1003
1 # Exim test configuration 1003
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 keep_environment =
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13 tls_advertise_hosts =
14
15 # ----- Main settings -----
16
17 acl_smtp_rcpt = accept
18
19 queue_only
20 queue_run_in_order
21
22
23 # ----- Routers -----
24
25 begin routers
26
27 client:
28   driver = accept
29   condition = ${if eq {SERVER}{server}{no}{yes}}
30   transport = send_to_server
31
32 server:
33   driver = accept
34   transport = local_delivery
35
36
37 # ----- Transports -----
38
39 begin transports
40
41 local_delivery:
42   driver = appendfile
43   file = DIR/test-mail/$local_part
44   user = CALLER
45
46 send_to_server:
47   driver = smtp
48   allow_localhost
49   hosts = $h_hosts
50   port = PORT_D
51   interface = ${expand:$h_interface:}
52
53
54 # ----- Retry -----
55
56 begin retry
57
58 * * F,5d,10s
59
60 # End