Use random_number rather than random, for external server distribution. Bug 2694
[users/heiko/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-0005vi-00
8         for userx8@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
9 X-Sieve: 99
10 Message-Id: <E10HmbG-0005vi-00@mail.test.ex>
11 From: CALLER_NAME <CALLER@test.ex>
12 Date: Tue, 2 Mar 1999 09:44:33 +0000
13
14         require["fileinto","comparator-i;ascii-numeric"];
15         if header :comparator "i;ascii-numeric" "X-Sieve" "99" {
16           fileinto "inbox.JUNK";
17           stop;
18         }
19 Test 8
20
21 From CALLER@test.ex Tue Mar 02 09:44:33 1999
22 Return-path: <CALLER@test.ex>
23 Envelope-to: userx10@test.ex
24 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
25 Received: from CALLER by mail.test.ex with local (Exim x.yz)
26         (envelope-from <CALLER@test.ex>)
27         id 10HmbI-0005vi-00
28         for userx10@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
29 X-Sieve: 99-
30 Message-Id: <E10HmbI-0005vi-00@mail.test.ex>
31 From: CALLER_NAME <CALLER@test.ex>
32 Date: Tue, 2 Mar 1999 09:44:33 +0000
33
34         require["fileinto","comparator-i;ascii-numeric"];
35         if header :comparator "i;ascii-numeric" "X-Sieve" "99" {
36           fileinto "inbox.JUNK";
37           stop;
38         }
39 Test 10
40
41 From CALLER@test.ex Tue Mar 02 09:44:33 1999
42 Return-path: <CALLER@test.ex>
43 Envelope-to: userx11@test.ex
44 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
45 Received: from CALLER by mail.test.ex with local (Exim x.yz)
46         (envelope-from <CALLER@test.ex>)
47         id 10HmbJ-0005vi-00
48         for userx11@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
49 X-Sieve: -99
50 Message-Id: <E10HmbJ-0005vi-00@mail.test.ex>
51 From: CALLER_NAME <CALLER@test.ex>
52 Date: Tue, 2 Mar 1999 09:44:33 +0000
53
54         require["fileinto","comparator-i;ascii-numeric"];
55         if header :comparator "i;ascii-numeric" "X-Sieve" "-99" {
56           fileinto "inbox.JUNK";
57           stop;
58         }
59 Test 11
60
61 From CALLER@test.ex Tue Mar 02 09:44:33 1999
62 Return-path: <CALLER@test.ex>
63 Envelope-to: userx12@test.ex
64 Delivery-date: Tue, 2 Mar 1999 09:44:33 +0000
65 Received: from CALLER by mail.test.ex with local (Exim x.yz)
66         (envelope-from <CALLER@test.ex>)
67         id 10HmbK-0005vi-00
68         for userx12@test.ex; Tue, 2 Mar 1999 09:44:33 +0000
69 X-Sieve: -99
70 Message-Id: <E10HmbK-0005vi-00@mail.test.ex>
71 From: CALLER_NAME <CALLER@test.ex>
72 Date: Tue, 2 Mar 1999 09:44:33 +0000
73
74         require["fileinto","comparator-i;ascii-numeric"];
75         if header :comparator "i;ascii-numeric" "X-Sieve" "-98" {
76           fileinto "inbox.JUNK";
77           stop;
78         }
79 Test 12
80