Merge branch '4.next'
[exim.git] / test / scripts / 2750-json / 2750
1 # lookup json
2 #
3 exim -be
4 policy-aliases:google:mode
5 ${lookup {policy-aliases:google:mode} json {DIR/aux-fixed/policy.json}}
6
7 policies:hotmail.com
8 ${lookup {policies:hotmail.com} json {DIR/aux-fixed/policy.json}}
9
10 policy-aliases:outlook
11 ${lookup {policy-aliases:outlook} json {DIR/aux-fixed/policy.json}}
12
13 policy-aliases:outlook:mxs
14 ${lookup {policy-aliases:outlook:mxs} json {DIR/aux-fixed/policy.json}}
15
16 policy-aliases:outlook:mxs:1
17 ${lookup {policy-aliases : outlook : mxs : 1} json {DIR/aux-fixed/policy.json}}
18
19 aggregate output vs. json extract
20 ${extract json {mxs} \
21         {${lookup {policy-aliases:outlook} json {DIR/aux-fixed/policy.json}}}}
22 ****