Cutthrough: fix operation under -bhc to not actually deliver. Bug 1800
[users/heiko/exim.git] / test / confs / 0094
1 # Exim test configuration 0094
2
3 exim_path = EXIM_PATH
4 keep_environment =
5 host_lookup_order = bydns
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
11
12 # ----- Main settings -----
13
14 qualify_domain = test.ex
15
16 acl_smtp_rcpt = check_recipient
17 domainlist local_domains = test.ex
18
19 hostlist relay_hosts = *.masq.test.ex
20
21 host_lookup = 0.0.0.0/0
22
23
24 # ----- ACL -----
25
26 begin acl
27
28 check_recipient:
29   accept  hosts = :
30   accept  domains = +local_domains
31   accept  hosts = +relay_hosts
32   deny    message = relay not permitted
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 localuser:
40   driver = accept
41   local_parts = userx
42   transport = appendfile
43
44
45 # ----- Transports -----
46
47 begin transports
48
49 appendfile:
50   driver = appendfile
51   file = DIR/test-mail/$local_part
52   headers_add = host_lookup_failed: $host_lookup_failed\n\
53                 host_lookup_deferred: $host_lookup_deferred
54   user = CALLER
55
56
57 # End