Merge branch 'master'
[users/heiko/exim.git] / test / confs / 0341
1 # Exim test configuration 0341
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 queue_only
19
20
21 # ----- Routers -----
22
23 begin routers
24
25 # Use an expansion for errors_to to force different copies of the string
26
27 local:
28   driver = accept
29   domains = test.ex
30   transport = local_delivery
31   errors_to = postmaster@$domain
32
33 remote:
34   driver = accept
35   condition = ${if eq {SERVER}{server}{no}{yes}}
36   transport = send_to_server
37   errors_to = mailmaster@$domain
38
39
40 # ----- Transports -----
41
42 begin transports
43
44 local_delivery:
45   driver = appendfile
46   file = DIR/test-mail/mailbox
47   user = CALLER
48   batch_max = 10
49   envelope_to_add
50
51 send_to_server:
52   driver = smtp
53   allow_localhost
54   hosts = 127.0.0.1
55   port = PORT_D
56
57
58 # End