Check for missing commandline arg after options taking one. Bug 3049
[exim.git] / test / mail / 0428.inbox.JUNK
1 From CALLER@test.ex Tue Mar 02 09:44:33 1999
2 Return-path: <CALLER@test.ex>
3 Envelope-to: userx8@test.ex
4 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
5 Received: from CALLER by mail.test.ex with local (Exim x.yz)
6         (envelope-from <CALLER@test.ex>)
7         id 10HmbG-000000005vi-0000
8         for userx8@test.ex;
9         Tue, 2 Mar 1999 09:44:33 +0000
10 X-Sieve: 99
11 Message-Id: <E10HmbG-000000005vi-0000@mail.test.ex>
12 From: CALLER_NAME <CALLER@test.ex>
13 Date: Tue, 2 Mar 1999 09:44:33 +0000
14
15         require["fileinto","comparator-i;ascii-numeric"];
16         if header :comparator "i;ascii-numeric" "X-Sieve" "99" {
17           fileinto "inbox.JUNK";
18           stop;
19         }
20 Test 8
21
22 From CALLER@test.ex Tue Mar 02 09:44:33 1999
23 Return-path: <CALLER@test.ex>
24 Envelope-to: userx10@test.ex
25 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
26 Received: from CALLER by mail.test.ex with local (Exim x.yz)
27         (envelope-from <CALLER@test.ex>)
28         id 10HmbI-000000005vi-0000
29         for userx10@test.ex;
30         Tue, 2 Mar 1999 09:44:33 +0000
31 X-Sieve: 99-
32 Message-Id: <E10HmbI-000000005vi-0000@mail.test.ex>
33 From: CALLER_NAME <CALLER@test.ex>
34 Date: Tue, 2 Mar 1999 09:44:33 +0000
35
36         require["fileinto","comparator-i;ascii-numeric"];
37         if header :comparator "i;ascii-numeric" "X-Sieve" "99" {
38           fileinto "inbox.JUNK";
39           stop;
40         }
41 Test 10
42
43 From CALLER@test.ex Tue Mar 02 09:44:33 1999
44 Return-path: <CALLER@test.ex>
45 Envelope-to: userx11@test.ex
46 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
47 Received: from CALLER by mail.test.ex with local (Exim x.yz)
48         (envelope-from <CALLER@test.ex>)
49         id 10HmbJ-000000005vi-0000
50         for userx11@test.ex;
51         Tue, 2 Mar 1999 09:44:33 +0000
52 X-Sieve: -99
53 Message-Id: <E10HmbJ-000000005vi-0000@mail.test.ex>
54 From: CALLER_NAME <CALLER@test.ex>
55 Date: Tue, 2 Mar 1999 09:44:33 +0000
56
57         require["fileinto","comparator-i;ascii-numeric"];
58         if header :comparator "i;ascii-numeric" "X-Sieve" "-99" {
59           fileinto "inbox.JUNK";
60           stop;
61         }
62 Test 11
63
64 From CALLER@test.ex Tue Mar 02 09:44:33 1999
65 Return-path: <CALLER@test.ex>
66 Envelope-to: userx12@test.ex
67 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
68 Received: from CALLER by mail.test.ex with local (Exim x.yz)
69         (envelope-from <CALLER@test.ex>)
70         id 10HmbK-000000005vi-0000
71         for userx12@test.ex;
72         Tue, 2 Mar 1999 09:44:33 +0000
73 X-Sieve: -99
74 Message-Id: <E10HmbK-000000005vi-0000@mail.test.ex>
75 From: CALLER_NAME <CALLER@test.ex>
76 Date: Tue, 2 Mar 1999 09:44:33 +0000
77
78         require["fileinto","comparator-i;ascii-numeric"];
79         if header :comparator "i;ascii-numeric" "X-Sieve" "-98" {
80           fileinto "inbox.JUNK";
81           stop;
82         }
83 Test 12
84