1#verbose on 2open test-queue-file3.tmp 3 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. 9 10# Add a recipient and update all headers in reverse order. 11 12add_rcpt me@porcupine.org 13upd_header 1 Subject hey! 14upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT) 15upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org> 16upd_header 1 To you@porcupine.org 17upd_header 1 From me@porcupine.org 18 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. 22 23del_rcpt me@porcupine.org 24upd_header 1 Subject hey! 25upd_header 1 Subject hey! 26upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT) 27upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT) 28upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org> 29upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org> 30upd_header 1 To you@porcupine.org 31upd_header 1 To you@porcupine.org 32upd_header 1 From me@porcupine.org 33upd_header 1 From me@porcupine.org 34 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. 38 39add_rcpt em@porcupine.org 40upd_header 1 From me@porcupine.org 41upd_header 1 To you@porcupine.org 42upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org> 43upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT) 44upd_header 1 Subject hey! 45 46# Delete the recipient and update the headers again. 47 48del_rcpt em@porcupine.org 49upd_header 1 From me@porcupine.org 50upd_header 1 From me@porcupine.org 51upd_header 1 To you@porcupine.org 52upd_header 1 To you@porcupine.org 53upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org> 54upd_header 1 Message-Id <20060725192735.5EC2D29013F@hades.porcupine.org> 55upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT) 56upd_header 1 Date Tue, 25 Jul 2006 15:27:19 -0400 (EDT) 57upd_header 1 Subject hey! 58upd_header 1 Subject hey! 59 60close 61