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