2 open test-queue-file3.tmp
4 # Another torture test for mail with a short last message header.
5 # This complements test #2 with the same message where we update the
6 # short Subject header, but none of the other headers. Like test #1,
7 # this also tests possible interactions with envelope recipient
8 # updates, which share the same heap with message header updates.
10 # Add a recipient and update all headers in reverse order.
12 add_rcpt me@porcupine.org
13 upd_header 1 Subject hey!
14 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
15 upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org>
16 upd_header 1 To you@porcupine.org
17 upd_header 1 From me@porcupine.org
19 # Delete the recipient added above, and update headers in reverse
20 # order, twice. This tests repeated updates of short headers, but
21 # doesn't test much for the longer ones.
23 del_rcpt me@porcupine.org
24 upd_header 1 Subject hey!
25 upd_header 1 Subject hey!
26 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
27 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
28 upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org>
29 upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org>
30 upd_header 1 To you@porcupine.org
31 upd_header 1 To you@porcupine.org
32 upd_header 1 From me@porcupine.org
33 upd_header 1 From me@porcupine.org
35 # Add a new recipient, using a different address than above, so that
36 # the duplicate filter won't suppress it. Update the headers in the
37 # normal order, in case it makes a difference.
39 add_rcpt em@porcupine.org
40 upd_header 1 From me@porcupine.org
41 upd_header 1 To you@porcupine.org
42 upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org>
43 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
44 upd_header 1 Subject hey!
46 # Delete the recipient and update the headers again.
48 del_rcpt em@porcupine.org
49 upd_header 1 From me@porcupine.org
50 upd_header 1 From me@porcupine.org
51 upd_header 1 To you@porcupine.org
52 upd_header 1 To you@porcupine.org
53 upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org>
54 upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org>
55 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
56 upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT)
57 upd_header 1 Subject hey!
58 upd_header 1 Subject hey!