summaryrefslogtreecommitdiff
path: root/test/scripts/0000-Basic/0700
blob: 8d4f06976efd3ab760bb488d615f5c8a1a0deecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
# exim_msgdate
#
# Without this, runtest would munge all dates and message-ids,
# destroying the things we wish to test:
no_munge
#
#
### A Message ID as it appears in an email:
0 TZ=GB
exim_msgdate E1pAnS3-003fPj-Tw
****
### A Message ID as it appears in the exim log:
0 TZ=GB
exim_msgdate 1pEPHo-005xgk-2e
****
### Just the date part of the Message ID:
###    The Epoch ...
0 TZ=GB
exim_msgdate 000000
****
### ... the script was under development at this time ...
0 TZ=GB
exim_msgdate 1pEPHo
****
### ... the end of exim msg-id time
0 TZ=GB
exim_msgdate zzzzzz
****
### All three time zones with a non-GMT time
0 TZ=GB
exim_msgdate -l -u -z 1o6fde-003z7E-PS
****
### All three types of message-ids, at once:
0 TZ=GB
exim_msgdate E000000-005XGK-00 1pAnS3-003fPj-Tw zzzzzz
****
### Message IDs generated on a system, such as Mac or Cygwin,
### which has low-resolution Message-ID timestamps
0 TZ=GB
exim_msgdate --base36 000000-005XGK-00
****
0 TZ=GB
exim_msgdate --base36 ZZZZZZ-005XGK-ZZ
****
255 TZ=GB
exim_msgdate --base36 zzzzzz-005xgk-zz
****
### An invalid base option
255 TZ=GB
exim_msgdate --base 32 ZZZZZZ
****
### Message IDs generated on a standard system
### with high-resolution Message-ID timestamps
0 TZ=GB
exim_msgdate --base62 000000-005XGK-00
****
0 TZ=GB
exim_msgdate --base62 ZZZZZZ-005XGK-ZZ
****
0 TZ=GB
exim_msgdate --base62 zzzzzz-005xgk-zz
****
### Some strings that are similar to, but not Exim Message IDs:
0 TZ=GB
exim_msgdate  zzzzzz-005xgk-z@
****
0 TZ=GB
exim_msgdate  zzzzz-z005xgk-zz
****
0 TZ=GB
exim_msgdate  zzzzzzz
****
### Print date with localtime
0 TZ=GB
exim_msgdate -local 000000
****
0 TZ=GB
exim_msgdate -local E1pAnS3-003fPj-Tw
****
0 TZ=GB
exim_msgdate -local zzzzzz-003fPj-zz
****
### Print date with timezone GMT/Zulu
0 TZ=GB
exim_msgdate -GMT 000000-003fPj-00
****
0 TZ=GB
exim_msgdate -GMT E1pAnS3-003fPj-Tw
****
0 TZ=GB
exim_msgdate -zulu E1pAnS3-003fPj-Tw
****
0 TZ=GB
exim_msgdate -zulu EZZZZZZ-003fPj-ZZ
****
### Print date as seconds since the UNIX epoch.
0 TZ=GB
exim_msgdate -unix E000000-003fPj-00
****
0 TZ=GB
exim_msgdate -unix E1pAnS3-003fPj-tw
****
0 TZ=GB
exim_msgdate -unix Ezzzzzz-003fpj-zz
****
### Show the process id too
0 TZ=GB
exim_msgdate -unix --pid EZZZZZZ-003fPj-ZZ
****
0 TZ=GB
exim_msgdate -pid EZZZZZZ-003fPj-ZZ
****
0 TZ=GB
exim_msgdate -local --pid EZZZZZZ-003fPj-ZZ
****
### Override the value of localhost_number set in the exim configuation file
0 TZ=GB
exim_msgdate -local --localhost_number 11 -base 62 EZZZZZZ-003FPJ-ZZ
****
0 TZ=GB
exim_msgdate --localhost_number 11 -base 62 EZZZZZZ-003FPJ-ZZ
****
0 TZ=GB
exim_msgdate --localhost_number 9 -base 36 EZZZZZZ-003FPJ-ZZ
****
255 TZ=GB
exim_msgdate --localhost_number 11 -base 36 EZZZZZZ-003FPJ-ZZ
****
0 TZ=GB
exim_msgdate -localhost_number 11 --local -base 62 EZZZZZZ-003FPJ-ZZ
****
0 TZ=GB
exim_msgdate --localhost_number -1 -base 36 EZZZZZZ-003FPJ-ZZ
****
255 TZ=GB
exim_msgdate --localhost_number 19 -base 62 EZZZZZZ-003FPJ-ZZ
****
#
#
#
#
### From here as 701 - 703
### Each msg-id type, all zone
0 TZ=GB
exim_msgdate -l -u -z -pid E000000-005XGK-00
****
0 TZ=GB
exim_msgdate -l -u -z -pid 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW
****
0 TZ=GB
exim_msgdate -l -u -z -pid 000000 1PANS3 zzzzzz
****
0 TZ=GB
exim_msgdate -l -u -z -pid 000000 1PANS3 ZZZZZZ
****
### All msg-id types, all zones,  localhost_number = 3
0 TZ=GB
exim_msgdate -l -u -z -localhost_number=3 E000000-005XGK-00
****
0 TZ=GB
exim_msgdate -l -u -z -localhost_number=3 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW
****
0 TZ=GB
exim_msgdate -l -u -z -localhost_number=3 000000 1PANS3 zzzzzz
****
0 TZ=GB
exim_msgdate -l -u -z -localhost_number=3 000000 1PANS3 ZZZZZZ
****
### All msg-id types, all zones,  localhost_number = 13
0 TZ=GB
exim_msgdate -l -u -z -localhost_number=13 E000000-005XGK-00
****
0 TZ=GB
exim_msgdate -l -u -z -localhost_number=13 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW
****
0 TZ=GB
exim_msgdate -l -u -z -localhost_number=13 000000 1PANS3 zzzzzz
****
0 TZ=GB
exim_msgdate -l -u -z -localhost_number=13 000000 1PANS3 ZZZZZZ
****
### All msg-id types, all zones,  localhost_number = 20
255 TZ=GB
exim_msgdate -l -u -z -localhost_number=20 E000000-005XGK-00
****
255 TZ=GB
exim_msgdate -l -u -z -localhost_number=20 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW
****
255 TZ=GB
exim_msgdate -l -u -z -localhost_number=20 000000 1PANS3 zzzzzz
****
255 TZ=GB
exim_msgdate -l -u -z -localhost_number=20 000000 1PANS3 ZZZZZZ
****
### All msg-id types, all zones,  base=36
0 TZ=GB
exim_msgdate -l -u -z --b36 E000000-005XGK-00
****
255 TZ=GB
exim_msgdate -l -u -z --b36 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW
****
255 TZ=GB
exim_msgdate -l -u -z --b36 000000 1PANS3 zzzzzz
****
0 TZ=GB
exim_msgdate -l -u -z --b36 000000 1PANS3 ZZZZZZ
****
### All msg-id types, all zones,  base=62
0 TZ=GB
exim_msgdate -l -u -z --b62 E000000-005XGK-00
****
0 TZ=GB
exim_msgdate -l -u -z --b62 000000-005XGK-00 ZZZZZZ-005XGK-zz 1PANS3-003FPJ-TW
****
0 TZ=GB
exim_msgdate -l -u -z --b62 000000 1PANS3 zzzzzz
****
0 TZ=GB
exim_msgdate -l -u -z --b62 000000 1PANS3 ZZZZZZ
****