blob: bfe43b632e9d88002dc6eaa574b7fe8dfeebee4d (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Exim filter
add 1 to n3
add 3 to n4
add $n3 to n4
add $n4 to n4
add 6 to n$n3
testprint "n0=$n0 n1=$n1 n3=$n3 n4=$n4"
testprint "${run{/bin/sh -c 'pwd'}}"
deliver root@$qualify_domain
save /tmp/$primary_hostname 444
save /tmp/$qualify_domain
pipe "/tmp/$primary_hostname"
logfile /tmp/logfile logwrite "this is log text: $qualify_domain"
if $qualify_domain contains $qualify_domain then
testprint "yes"
else
testprint "no"
endif
if $qualify_domain CONTAINS $qualify_domain then
testprint "yes"
else
testprint "no"
endif
if $qualify_domain contains ${uc:$qualify_domain} then
testprint "yes"
else
testprint "no"
endif
if $qualify_domain does not contain ${uc:$qualify_domain} then
testprint "no"
else
testprint "yes"
endif
if $qualify_domain DOES NOT CONTAIN ${uc:$qualify_domain} then
testprint "no"
else
testprint "yes"
endif
if $qualify_domain CONTAINS ${uc:$qualify_domain} then
testprint "yes"
else
testprint "no"
endif
if $qualify_domain is $qualify_domain then
testprint "qualify_domain is qualify_domain"
else
testprint "NOT qualify_domain is qualify_domain"
endif
if $qualify_domain IS $qualify_domain then
testprint "qualify_domain IS qualify_domain"
else
testprint "NOT qualify_domain IS qualify_domain"
endif
if $qualify_domain is not $qualify_domain then
testprint "qualify_domain is not qualify_domain"
else
testprint "NOT qualify_domain is not qualify_domain"
endif
if $qualify_domain IS NOT $qualify_domain then
testprint "qualify_domain IS NOT qualify_domain"
else
testprint "NOT qualify_domain IS NOT qualify_domain"
endif
|