Merge branch 'master' into transp_logging_1031
[users/jgh/exim.git] / test / confs / 0325
1 # Exim test configuration 0325
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist    test_domains = lsearch; DIR/aux-fixed/TESTNUM.data
15 localpartlist test_local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
16
17 acl_smtp_rcpt = a1
18
19 # ----- ACLs -----
20
21 begin ACL
22
23 a1:
24   accept   domains = +test_domains
25            local_parts = +test_local_parts
26            condition = ${if eq{$domain_data/$local_part_data}\
27                        {DOMAIN DATA/LOCAL PART DATA}{no}{yes}}
28
29   deny     domains = +test_domains
30            local_parts = +test_local_parts
31            message = \$domain_data=$domain_data \$local_part_data=$local_part_data
32
33
34 # ----- Routers -----
35
36 begin routers
37
38 r1:
39   driver = redirect
40   domains = lsearch;DIR/aux-fixed/TESTNUM.data
41   local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
42   data =
43   debug_print = r1: \$domain_data = $domain_data\n\
44                 $router_name: \$local_part_data = $local_part_data
45
46 r2:
47   driver = redirect
48   domains = lsearch;DIR/aux-fixed/TESTNUM.data
49   local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
50   data =
51   debug_print = r2: \$domain_data = $domain_data\n\
52                 $router_name: \$local_part_data = $local_part_data
53
54 r3:
55   driver = redirect
56   domains = +test_domains
57   local_parts = +test_local_parts
58   data =
59   debug_print = r3: \$domain_data = $domain_data\n\
60                 $router_name: \$local_part_data = $local_part_data
61
62 r4:
63   driver = accept
64   domains = +test_domains
65   local_parts = +test_local_parts
66   transport = t1
67   debug_print = r4: \$domain_data = $domain_data\n\
68                 $router_name: \$local_part_data = $local_part_data
69
70
71 # ----- Transports -----
72
73 begin transports
74
75 t1:
76   driver = appendfile
77   file = /dev/null
78   user = CALLER
79
80 # End