summaryrefslogtreecommitdiff
path: root/test/aux-fixed/0316.f-user
blob: a110ec05bb9d33a2d5e46deef96396f7db6a2711 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Exim filter

if foranyaddress "a@b, c@d" ( $thisaddress matches ^c ) then
  testprint "1 Matched $thisaddress"
endif   

if foranyaddress "Group name: a@b, c@d;, cc@dd" ( $thisaddress matches ^c ) 
then
  testprint "2 Matched $thisaddress"
endif   
    
if foranyaddress "Group name: a@b, c@d;, cc@dd" ( $thisaddress matches ^cc ) 
then
  testprint "3 Matched $thisaddress"
endif   
    
if foranyaddress "Group name: a@b, c@d;, cc@dd, N2: e@f;, ee@ff" 
  ( $thisaddress matches ^e ) 
then
  testprint "4 Matched $thisaddress"
endif