Remove word "rejected" from ACL-discard log lines. Bug 1632
[users/jgh/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 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
18
19 # ----- Routers -----
20
21 begin routers
22
23 # Use an expansion for errors_to to force different copies of the string
24
25 local:
26   driver = accept
27   domains = test.ex
28   transport = local_delivery
29   errors_to = postmaster@$domain
30
31 remote:
32   driver = accept
33   condition = ${if eq {SERVER}{server}{no}{yes}}
34   transport = send_to_server
35   errors_to = mailmaster@$domain
36
37
38 # ----- Transports -----
39
40 begin transports
41
42 local_delivery:
43   driver = appendfile
44   file = DIR/test-mail/mailbox
45   user = CALLER
46   batch_max = 10
47   envelope_to_add
48
49 send_to_server:
50   driver = smtp
51   allow_localhost
52   hosts = 127.0.0.1
53   port = PORT_D
54
55
56 # End