Testsuite: testcases for rejected rcpt-callout-triggered cutthrough
[users/jgh/exim.git] / test / confs / 0410
1 # Exim test configuration 0410
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   accept verify = recipient
26          verify = sender
27          condition = ${if eq {$address_data}{ADDRESS_DATA_STRING}{yes}{no}}
28          condition = ${if eq {$sender_address_data}{SENDER_ADDRESS_DATA_STRING}{yes}{no}}
29
30
31 # ----- Routers -----
32
33 begin routers
34
35 r1:
36   driver = redirect
37   local_parts = orig
38   data = child@test.ex
39
40 r2:
41   driver = accept
42   local_parts = child
43   address_data = ADDRESS_DATA_STRING
44   transport = t1
45
46 r3:
47   driver = accept
48   local_parts = oksender
49   address_data = SENDER_ADDRESS_DATA_STRING
50   transport = t1
51
52
53 # ----- Transports -----
54
55 begin transports
56
57 t1:
58   driver = appendfile
59   file = /dev/null
60   user = CALLER
61
62
63 # End