Capture substrings in ACL regex= . Bug 425.
[users/heiko/exim.git] / test / scripts / 0000-Basic / 0530
1 # autoreply and References: headers
2 #
3 exim -odi userx@test.ex
4 Subject: Message-id, no References, no In-Reply-to
5 Message-id: <m1@b>
6 ****
7 exim -odi userx@test.ex
8 Subject: Message-id, no References, In-Reply-to
9 Message-id: <m1@b>
10 In-Reply-To: <i1@b>
11 ****
12 exim -odi userx@test.ex
13 Subject: Message-id, References (1), In-Reply-to
14 Message-id: <m1@b>
15 References: <r1@b>
16 In-Reply-To: <i1@b>
17 ****
18 exim -odi userx@test.ex
19 Subject: Message-id, References (5), no In-Reply-to
20 Message-id: <m1@b>
21 References: <r1@b> <r2@b> <r3@b> <r4@b> <r5@b>
22 ****
23 exim -odi userx@test.ex
24 Subject: Message-id, References (15), In-Reply-to
25 Message-id: <m1@b>
26 References: <r1@b> <r2@b> <r3@b> <r4@b> <r5@b>
27             <r6@b> <r7@b> <r8@b> <r9@b> <r10@b>
28             <r11@b> <r12@b> <r13@b> <r14@b> <r15@b> 
29 In-Reply-To: <i1@b>
30 ****
31 # In order not to have Exim create a Message-ID: header, we need to set
32 # suppress_local_fixups, but the not-smtp ACL is too late. So we must use
33 # an SMTP interface.
34 #
35 exim -odi -bs
36 mail from:<CALLER@test.ex>
37 rcpt to:<userx@test.ex>
38 data
39 Subject: no Message-id, no References, no In-Reply-to
40 .
41 quit
42 ****
43 exim -odi -bs
44 mail from:<CALLER@test.ex>
45 rcpt to:<userx@test.ex>
46 data
47 Subject: no Message-id, no References, In-Reply-to
48 In-Reply-To: <i1@b>
49 .
50 quit
51 ****
52 exim -odi -bs
53 mail from:<CALLER@test.ex>
54 rcpt to:<userx@test.ex>
55 data
56 Subject: no Message-id, References (1), In-Reply-to
57 References: <r1@b>
58 In-Reply-To: <i1@b>
59 .
60 quit
61 ****
62 exim -odi -bs
63 mail from:<CALLER@test.ex>
64 rcpt to:<userx@test.ex>
65 data
66 Subject: no Message-id, References (5), no In-Reply-to
67 References: <r1@b> <r2@b> <r3@b> <r4@b> <r5@b>
68 .
69 quit
70 ****
71 exim -odi -bs
72 mail from:<CALLER@test.ex>
73 rcpt to:<userx@test.ex>
74 data
75 Subject: no Message-id, References (15), In-Reply-to
76 References: <r1@b> <r2@b> <r3@b> <r4@b> <r5@b>
77             <r6@b> <r7@b> <r8@b> <r9@b> <r10@b>
78             <r11@b> <r12@b> <r13@b> <r14@b> <r15@b> 
79 In-Reply-To: <i1@b>
80 .
81 quit
82 ****