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