5dbcd38b8025b913edef401cd4b0b047a508fa6a
[exim.git] / test / scripts / 0000-Basic / 0699
1 # message ID format manipulation
2 # This testcase is for the 4.97 message-id format changeover
3 # should can be dropped after a few further releases.
4 #
5 # Ensure spooldir exists
6 sudo mkdir -p DIR/spool/input
7 #
8 ### Check that delivery of old-format spoolfiles works
9 sudo cp DIR/aux-fixed/TESTNUM/* DIR/spool/input/
10 sudo chown -R EXIMUSER:EXIMGROUP DIR/spool/input/
11 sudo chmod -R 640 DIR/spool/input/*
12 exim -q
13 ****
14 #
15 ### Check that the format-mangler utility can downgrade spoolfiles
16 exim -odq nulldeliver@test.ex
17 Subject: originally-new id format spoolfile
18
19 This is the only body content line
20 ****
21 exim -bp
22 ****
23 exim_id_update -d
24 exim -bp
25 ****
26 exim -q
27 ****
28 #
29 ### Check that the format-mangler utility can upgrade spoolfiles
30 sudo cp DIR/aux-fixed/TESTNUM/* DIR/spool/input/
31 sudo chown -R EXIMUSER:EXIMGROUP DIR/spool/input/
32 sudo chmod -R 640 DIR/spool/input/*
33 exim_id_update -u
34 exim -bp
35 ****
36 exim -q
37 ****
38 #
39 #
40 ### done
41 no_msglog_check