6d416fc6a85cc5d5f71432073769f1881b167be3
[exim.git] / test / confs / 0410
1 # Exim test configuration 0410
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 primary_hostname = mail.test.ex
13 qualify_domain = test.ex
14
15 acl_smtp_rcpt = rcpt
16
17
18 # ----- ACL -----
19
20 begin ACL
21
22 rcpt:
23   accept verify = recipient
24          verify = sender
25          condition = ${if eq {$address_data}{ADDRESS_DATA_STRING}{yes}{no}}
26          condition = ${if eq {$sender_address_data}{SENDER_ADDRESS_DATA_STRING}{yes}{no}}
27
28
29 # ----- Routers -----
30
31 begin routers
32
33 r1:
34   driver = redirect
35   local_parts = orig
36   data = child@test.ex
37
38 r2:
39   driver = accept
40   local_parts = child
41   address_data = ADDRESS_DATA_STRING
42   transport = t1
43
44 r3:
45   driver = accept
46   local_parts = oksender
47   address_data = SENDER_ADDRESS_DATA_STRING
48   transport = t1
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 t1:
56   driver = appendfile
57   file = /dev/null
58   user = CALLER
59
60
61 # End