summaryrefslogtreecommitdiff
path: root/test/aux-fixed/0316.f-user
diff options
context:
space:
mode:
Diffstat (limited to 'test/aux-fixed/0316.f-user')
-rw-r--r--test/aux-fixed/0316.f-user22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/aux-fixed/0316.f-user b/test/aux-fixed/0316.f-user
new file mode 100644
index 000000000..a110ec05b
--- /dev/null
+++ b/test/aux-fixed/0316.f-user
@@ -0,0 +1,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
+