Cutthrough: fix operation under -bhc to not actually deliver. Bug 1800
[users/heiko/exim.git] / test / confs / 0398
1 # Exim test configuration 0398
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 primary_hostname = mail.test.ex
15 qualify_domain = test.ex
16
17 acl_smtp_rcpt = rcpt
18
19
20 # ----- ACL -----
21
22 begin acl
23
24 rcpt:
25   deny     senders = qq@remote
26           !verify = sender
27   warn     senders = qq@remote
28           !verify = sender/callout
29            log_message = $acl_verify_message
30   accept   senders = qq@remote
31
32   deny     local_parts = deny
33            !verify = sender/callout
34   warn     !verify = sender/callout
35            log_message = $acl_verify_message
36   warn     log_message = some other warning
37   accept
38
39
40 # ----- Routers -----
41
42 begin routers
43
44 r1:
45   domains = local
46   driver = accept
47   transport = t1
48
49 r2:
50   domains = remote
51   driver = manualroute
52   route_list = * 127.0.0.1
53   self = send
54   transport = t2
55
56
57 # ----- Transports -----
58
59 begin transports
60
61 t1:
62   driver = appendfile
63   file = DIR/test-mail/$local_part
64   user = CALLER
65
66 t2:
67   driver = smtp
68   port = PORT_S
69   allow_localhost
70
71
72 # End