Merge branch 'master' of /home/git/exim into tom_dev
[exim.git] / test / confs / 0341
1 # Exim test configuration 0341
2
3 SERVER =
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/SERVER%slog
11 gecos_pattern = ""
12 gecos_name = CALLER_NAME
13
14 # ----- Main settings -----
15
16 acl_smtp_rcpt = accept
17 queue_only
18
19
20 # ----- Routers -----
21
22 begin routers
23
24 # Use an expansion for errors_to to force different copies of the string
25
26 local:
27   driver = accept
28   domains = test.ex
29   transport = local_delivery
30   errors_to = postmaster@$domain
31
32 remote:
33   driver = accept
34   condition = ${if eq {SERVER}{server}{no}{yes}}
35   transport = send_to_server
36   errors_to = mailmaster@$domain
37
38
39 # ----- Transports -----
40
41 begin transports
42
43 local_delivery:
44   driver = appendfile
45   file = DIR/test-mail/mailbox
46   user = CALLER
47   batch_max = 10
48   envelope_to_add
49
50 send_to_server:
51   driver = smtp
52   allow_localhost
53   hosts = 127.0.0.1
54   port = PORT_D
55
56
57 # End