218de7b4cd12fcce77fc93617494831d8bfd3aa8
[exim.git] / test / confs / 0036
1 # Exim test configuration 0036
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 acl_smtp_rcpt = accept
16 queue_only
17 queue_run_in_order
18 remote_max_parallel = 1
19
20
21 # ----- Routers -----
22
23 begin routers
24
25 server:
26   driver = manualroute
27   condition = ${if eq {SERVER}{server}{yes}{no}}
28   route_list = *
29   transport = local_delivery
30
31 lookuphost:
32   driver = dnslookup
33   self = send
34   transport = send_to_server
35   no_more
36
37
38 # ----- Transports -----
39
40 begin transports
41
42 local_delivery:
43   driver = appendfile
44   file = DIR/test-mail/$local_part
45   user = CALLER
46
47 send_to_server:
48   driver = smtp
49   port = PORT_D
50
51 # End