Logging: convert an internal element from static to allocated buffer
[exim.git] / test / scripts / 0000-Basic / 0387
1 # Partial matching and lookup name decoding
2 exim -bs
3 helo test
4 mail from:<x@a.b.c>
5 rcpt to:<x@y>
6 rset
7 mail from:<x@b.c.a>
8 rcpt to:<x@y>
9 quit
10 ****
11 exim -bs -oMa 10.9.8.7
12 helo test
13 mail from:<x@b.c.a>
14 rcpt to:<x@y>
15 quit
16 ****
17 exim -bs -oMa 192.168.4.5
18 helo test
19 mail from:<x@b.c.a>
20 rcpt to:<x@y>
21 quit
22 ****
23 exim -bs -oMa 1.2.3.4
24 helo test
25 mail from:<x@b.c.a>
26 rcpt to:<x@y>
27 quit
28 ****
29 exim -d-all+lookup -be
30  1 ${lookup{a.b.c}partial-lsearch{DIR/aux-fixed/TESTNUM.1}}
31  2 ${lookup{x.y.c}partial-lsearch{DIR/aux-fixed/TESTNUM.1}}
32  3 ${lookup{x.y.c}partial-lsearch*{DIR/aux-fixed/TESTNUM.1}}
33  4 ${lookup{x.y.c}partial1-lsearch{DIR/aux-fixed/TESTNUM.1}}
34  5 ${lookup{x@y.c}partial1-lsearch*@{DIR/aux-fixed/TESTNUM.1}}
35  6 ${lookup{x@y.c}lsearch*@{DIR/aux-fixed/TESTNUM.1}}
36  7 ${lookup{a.b.c}partial(*.)lsearch{DIR/aux-fixed/TESTNUM.1}} 
37  8 ${lookup{a.b.c}partial(.)lsearch{DIR/aux-fixed/TESTNUM.1}} 
38  9 ${lookup{a.b.c}partial()lsearch{DIR/aux-fixed/TESTNUM.1}} 
39 10 ${lookup{a.b.c}partial(*)lsearch{DIR/aux-fixed/TESTNUM.1}} 
40 11 ${lookup{p.q.r}partial0(*.)lsearch{DIR/aux-fixed/TESTNUM.1}} 
41 12 ${lookup{p.q.r}partial0(.)lsearch{DIR/aux-fixed/TESTNUM.1}} 
42 13 ${lookup{x.aa.bb}partial0(++)lsearch{DIR/aux-fixed/TESTNUM.1}} 
43 14 ${lookup{x.aa.zz}partial0(++)lsearch{DIR/aux-fixed/TESTNUM.1}} 
44 15 ${lookup{x.aa.zz}partial1(++)lsearch*{DIR/aux-fixed/TESTNUM.1}} 
45 16 ${lookup{a.b.c}partial-lsearch{DIR/aux-fixed/TESTNUM.1}{$value|$0|$1|$2}}
46 ****