Lookups: Do not escape percent or underbar in the ${quote_pgsql: } operator. Bug...
[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 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 domainlist    test_domains = lsearch; DIR/aux-fixed/TESTNUM.data
14 localpartlist test_local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
15
16 acl_smtp_rcpt = a1
17
18 # ----- ACLs -----
19
20 begin ACL
21
22 a1:
23   accept   domains = +test_domains
24            local_parts = +test_local_parts
25            condition = ${if eq{$domain_data/$local_part_data}\
26                        {DOMAIN DATA/LOCAL PART DATA}{no}{yes}}
27
28   deny     domains = +test_domains
29            local_parts = +test_local_parts
30            message = \$domain_data=$domain_data \$local_part_data=$local_part_data
31
32
33 # ----- Routers -----
34
35 begin routers
36
37 r1:
38   driver = redirect
39   domains = lsearch;DIR/aux-fixed/TESTNUM.data
40   local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
41   data =
42   debug_print = r1: \$domain_data = $domain_data\n\
43                 $router_name: \$local_part_data = $local_part_data
44
45 r2:
46   driver = redirect
47   domains = lsearch;DIR/aux-fixed/TESTNUM.data
48   local_parts = lsearch;DIR/aux-fixed/TESTNUM.data
49   data =
50   debug_print = r2: \$domain_data = $domain_data\n\
51                 $router_name: \$local_part_data = $local_part_data
52
53 r3:
54   driver = redirect
55   domains = +test_domains
56   local_parts = +test_local_parts
57   data =
58   debug_print = r3: \$domain_data = $domain_data\n\
59                 $router_name: \$local_part_data = $local_part_data
60
61 r4:
62   driver = accept
63   domains = +test_domains
64   local_parts = +test_local_parts
65   transport = t1
66   debug_print = r4: \$domain_data = $domain_data\n\
67                 $router_name: \$local_part_data = $local_part_data
68
69
70 # ----- Transports -----
71
72 begin transports
73
74 t1:
75   driver = appendfile
76   file = /dev/null
77   user = CALLER
78
79 # End