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