"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 version 0.9.0 - 9 July 2011
2
3 * Fixed manpage installation path to be FHS compliant
4 * Speed up IMAP archiving with the --quiet option
5 * Ported the manpage from SGML to XML
6 * Fix test suite failures with Python 2.7. Closes: #3314293.
7 * IMAP: support international mailbox names containing non-ASCII characters.
8 * IMAP: handle broken servers sending no untagged SEARCH response.
9 Closes: #879716, #3213272.
10 * IMAP: support servers listening on non-standard ports. Closes: #3168416.
11
12 version 0.8.2 - 16 October 2010
13
14 * IMAP: don't prepend NAMESPACE prefix to INBOX and its children.
15 Closes: #3083236.
16
17 version 0.8.1 - 30 September 2010
18
19 * IMAP: fixed handling of LIST replies by the server where the mailbox name
20 is not a quoted string. (Thanks Karsten Müller)
21
22 Version 0.8.0 - 9 August 2010
23
24 * Fixed date header parsing to be precise with timezone information. Also,
25 when writing From_ line timestamps, don't use UTC but local time, without
26 timezone information.
27 * To determine the delivery date of a message, archivemail now looks for the
28 timestamp of the latest 'Received' header before resorting to
29 'Resent-Date' or 'Date'. This should give much better results when there
30 is no 'Delivery-date' header, which is still checked first.
31 (Thanks Andrew Ferrier & Christian Brabandt)
32 Closes: #1481316, #1764855, Debian bug #272666.
33 * If present, the 'Resent-date' header now takes precedence over 'Date'.
34 * IMAP: recognize when a server advertises LOGINDISABLED.
35 * New option --debug-imap; this just sets imaplib.Debug, thereby dumping
36 archivemail's chat with the server to stdout.
37 * Fixed crash with Python 2.5 when archiving an empty maildir.
38 (Thanks "Aidant") Closes: #1878940.
39 * New option --all to archive all messages in a mailbox. Closes: #1764846.
40 * Fixed a crash when archiving maildirs with --days=0. (Thanks John Goerzen)
41 * IMAP: automatically add NAMESPACE prefix to a mailbox path if necessary.
42 * Removed the feature to setuid to the mailbox owners when run as root.
43 This was a bad idea; it's really hard to do safely, if at all possible.
44 Obsoletes: patch #2783134.
45 * Replaced some simple minded file operation security checks with more
46 decent ones. This means we can safely operate in /tmp, for example. The
47 price is that we no longer accept symlinked files. Obsoletes: patch
48 #1874868.
49 * Don't use rename() to update mbox files and the archive, but write the
50 files directly. This is more fragile, but required for correct mbox
51 locking, and also for mboxes in mail spool directories where we don't have
52 permission to create files. It also means that if selinux is enabled,
53 archivemail now preserves the selinux security context of an mbox.
54 Closes: #2210732.
55 * Fixed the test suite to deal with nanosecond file timestamps. These are
56 provided by ext4 and XFS, for example. Closes: #2043900.
57 * Cleaned up the test suite, replacing a lot of duplicated code and avoiding
58 a lot of redundand testing. This speeds up the test suite by a factor of
59 15 or so.
60 * mbox locking got completely rewritten. Switched from flock to lockf
61 locking, which is NFS-safe and portable, and we now lock with lockf first,
62 then with a dotlock, instead of the other way around. (This is makes
63 archivemail compatible with Debian systems. ;)
64 * We now omit the dotlock if we don't have sufficient permissions to create
65 it in the mbox directory. (The file is still locked with lockf.)
66 Since we also no longer use rename() to commit changes to an mbox, (see
67 above) this means archivemail can now operate on mbox files in the system
68 mail spool. Closes: #855269.
69 * Refactoring of the mbox classes; much of the code got rewritten.
70 * The archive now also gets locked while archivemail updates it.
71 * Various Python language fixes (for example don't use "0" and "1" as
72 boolean constants).
73 * Added a lot of test cases for maildir archiving to the test suite.
74 Maildir testing should now be roughly on par with mbox testing.
75 * IMAP servers (Dovecot and UW-IMAP at least) may store mailbox meta data
76 for mboxes in a pseudo message. Such messages are now detected and never
77 archived. Obsoletes: patch #2210707. (Thanks, "tlhackque")
78 * New option --prefix, or short -p, to specify an archive name prefix. Like
79 a suffix specified with the --suffix option, the prefix is expanded with
80 strftime(). Specifying this option disables the default archive name
81 suffix. Obsoletes: feature request #604281. (Thanks Serafeim Zanikolas
82 for an initial patch)
83 * When archiving a mailbox with a leading dot in the name and with no archive
84 name prefix specified, archivemail no longer creates hidden archives, but
85 strips the dot off the archive name. In particular, this makes working
86 with Maildir++ subfolders more convenient. Closes: feature request
87 #604281.
88 * New option --archive-name, or short -a, to hard-code an archive filename.
89 Like the --suffix and --prefix options, it is expanded with strftime().
90 This option conflicts with archiving multiple mailboxes. Closes: feature
91 request #1306538.
92 * archivemail now expands wildcards in IMAP mailbox names. For example, the
93 url imaps://user@server/foo/* will expand to all subfolders of foo.
94 Closes: feature request #1978540. Obsoletes: patch #1918937.
95
96 Version 0.7.2 - 9 November 2007
97
98 * IMAP: fixed crash by working around python bug #1277098, which is still pending
99 in python << 2.5.
100
101 Version 0.7.1 - 7 November 2007
102
103 * Fixed incompatibility with Python 2.5 which broke Maildir handling.
104 Closes: #1670422
105 * Username and password in IMAP URLs can now be double-quoted, so it should be
106 no longer a problem if they contain delimiters like the '@' character.
107 Closes: #1640878
108 * Invalid messages/files in Maildirs caused archivemail to silently stop
109 processing mails and claim it's all done. Now skip these and go ahead.
110 (Thanks Elan Ruusamäe for tracking this down.) Closes: #1783369.
111 (The Debian package has a different fix for this problem since 0.6.1-4,
112 closing Debian bugs #255944 and #305902.)
113 * Fixed IMAP message flag conversion which was completely broken. (Thanks
114 Christian Brabandt) Closes: Debian bug #434807
115 * New option --copy: archive mail, but don't delete it from the mailbox.
116 This is mainly useful for testing purposes, and complements --delete.
117 Closes: #981865, #988803, #1764851, Debian bug #434798
118 * If running as root, only switch the effective uid and gid back if we have
119 actually switched them before. Closes: #1762907
120 * The automatic seteuid feature of archivemail is insecure and thus
121 deprecated; it will be removed from later versions.
122 * Expand tilde in argument of long option --pwfile. (Thanks Christian
123 Brabandt) Closes: Debian bug #434813
124 * archivemail now accepts --days=0
125 * Fixed crash if --warn-duplicate is used with IMAP (Thanks Christian
126 Brabandt) Closes: Debian bug #434786 (the Debian package already has a fix)
127 * When converting from other formats to mbox, archivemail used to preserve
128 existing 'Status' and 'X-Status' mbox headers; these are now silently
129 overwritten to ensure they have correct values.
130 * IMAP: if selecting the mailbox fails, archivemail detects the server's
131 mailbox hierarchy delimiter, replaces slashes in the mailbox name with the
132 delimiter and tries again. Closes: #1826757, Debian bug #368112
133
134 Version 0.7.0 - 2 November 2006
135 * Fixed long options --filter-append and --pwfile to accept their arguments.
136 Closes: #1555935
137 * Fixed From_ line generation to actually look for the 'Return-path' and
138 'From' headers. Closes: #1555797
139 * Fixed IMAP authentication/URL parsing, which wasn't working at all in
140 v0.6.2. Require username encoded in URL, but be flexible with the password:
141 handle both --pwfile and URL-encoded password, and fallback to querying the
142 user if neither is present. Closes: #1555951
143 * Convert on-the-wire CRLF to native EOL when saving messages from an IMAP
144 folder. Closes: #1555803
145 * Updated man page. This also addresses #1555951
146 * Fixed unittest failure by updating --suffix testcase. Based on analysis by
147 Peter Poeml. Thanks, Peter.
148 * Fixed invalid IMAP filter string for large messages (--size option).
149 (Thanks to the anonymous bug reporter) Closes: #863813
150 * Fixed IMAP --dry-run so it doesn't download all messages that would be
151 archived.
152 * Fixed IMAP --delete which didn't work at all. (Thanks Anand)
153 Closes: Debian bug #203282
154 * Terminate each message in newly written mbox with an empty line if the
155 message source is not an mbox-format folder. (Thanks Chung-chieh Shan)
156 Closes: Debian bug #250410
157 * Mangle From_ in message body if the message source is not an mbox-format
158 folder. (Thanks Chung-chieh Shan) Closes: Debian bug #250402
159 * Added new option --dont-mangle to turn off From_ mangling.
160 * Bumped Python dependency to version 2.3.
161 * Fixed unittest TestMboxExclusiveLock which failed on Solaris. (Thanks Paul
162 Rodger) Closes: #904652
163 * Fixed unsafe creation of temporary files in the test suite.
164 This addresses Debian bug #385253, and reading the BTS log, it seems this
165 issue was assigned CVE-2006-4245, although I cannot find any further
166 reference to that CVE. Note that the bug was initially reported to affect
167 archivemail itself, too. This is not correct. (Thanks Joey Hess)
168 Closes: Debian bug #385253
169 * Fixed cleanup of temporary files after test suite failures.
170 * Fixed dotlocking race condition.
171 * Stats are now working with IMAP.
172 * Stats now report the total size of a mailbox and of the archived messages
173 therefrom.
174 * Always barf if the archive destination directory is world-writable.
175 * Distributing man page with the tarball again and fixed distutils setup.
176 Closes: #1574720 (Thanks Grant Goodyear)
177 * Improved IMAP error reporting
178
179 Version 0.6.2 - 27 June 2006
180 * add -F/--filter-append option to append an arbitrary string to the IMAP
181 filter string
182 * don't delete more than a certain number of messages at a time. The max
183 command len is limited. Fixes bug 942403 (Archiving large IMAP folders fails)
184 * IMAP: try CRAM-MD5 login first, if that fails fallback to plain login
185 * add SSL support per imaps URL (after patch by Tobias Gruetzmacher)
186 * add -P/--pwfile option to supply the IMAP password, so it does not end up in
187 the shell history
188 * Fix SyntaxWarning: assignment to None (bug #843890)
189 * Use the archive cut date rather than the actual time with the --suffix
190 option. (Thanks Manuel Estrada Sainz)
191
192 Version 0.6.1 - 31 October 2002
193 * Removed a test rule that we could archive messages older than the
194 Unix epoch. Newer versions of python now give an overflow error calling
195 mktime() on dates < 1970 instead of returning a negative number.
196
197 Version 0.6.0 - 3 October 2002
198 * Added IMAP mailbox support. (Thanks Mark Roach)
199
200 Version 0.5.1 - 18 September 2002
201 * Fixed a bug where when running archivemail as root on a non-root mailbox,
202 the temporary container directory would be created as root before the
203 seteuid() took place. (Thanks Jay Hesselberth)
204
205 Version 0.5.0 - 15 September 2002
206 * Fixed a bug where mailbox locking would fail under Solaris. (Thanks Mark
207 Sheller)
208 * Fixed a bug where archiving maildir mailboxes without a 'Received Date' or
209 'From' header would fail. (Thanks Hugo van der Merwe)
210 * Removed yet another bug where messages dated on the Unix epoch would fail.
211
212 Version 0.4.9 - 18 August 2002
213 * Fixed a bug where an exception was thrown if a message was dated exactly
214 on the Unix epoch.
215 * Fixed a bug where trailing slashes on the end of maildir/MH mailbox
216 arguments were being used in the archive name.
217
218 Version 0.4.8 - 20 May 2002
219 * Call mkdir() to create a container directory in which we can place any
220 created tempfiles
221
222 Version 0.4.7 - 9 May 2002
223 * Fixed a bug where archivemail would abort if it received a date header
224 with a completely blank value.
225
226 Version 0.4.6 - 6 May 2002
227 * Fixed a bug where the os.rename() calls could fail if we were moving
228 temporary files across different filesystems/partitions.
229
230 Version 0.4.5 - 29 April 2002
231 * Fixed a bug where if you used the '--delete' option to completely clean
232 an mbox mailbox you would get a python error.
233 * Added a lot more testing to test_archivemail.py (test_archivemail.py is
234 now 37% bigger than archivemail -- scary)
235 * Added a new '--size' option which allows you to only archive messages
236 over a certain size.
237
238 Version 0.4.4 - 27 April 2002
239 * Fixed a bug where the long --suffix option was not working (although the
240 short option, '-s' was).
241 * Added time-based format directives to the --suffix option, so that you
242 can do things like specify --suffix='%B%Y' to create archives named
243 after the current month and year
244 * Added some more tests to test_archivemail.py
245
246 Version 0.4.3 - 26 April 2002
247 * Fixed a couple of bugs where I was using python version 2.2 syntax that
248 was giving errors in python v2.0 and v2.1.
249 * Changed the python requirements for the test script from python version
250 2.0 to version 2.1. This is because the unittest module is only available
251 in version 2.1 and above.
252
253 Version 0.4.2 - 24 April 2002
254 * Added the ability to archive messages older than a given absolute date
255 with the new option '--date'.
256 * Fixed a bug where archivemail would complain about messages older than
257 1970. Yes, someone had a 'Date' header with 1967 :)
258 * Complain if the mailbox to be read does not look like a valid mbox-format
259 mailbox.
260 * Added a few more tests to test_archivemail.py
261
262 Version 0.4.1 - 21 April 2002
263 * Don't archive messages that are flagged important unless we are given the
264 --include-flagged option.
265 * Fixed a bug where when archiving messages from maildir mailboxes, we were
266 not preserving the status information contained in the filename suffix to
267 Status and X-Status mbox headers. This means we forgot if we had read or
268 replied to the message.
269 * We now complain if an mbox-format mailbox that is being read changes in
270 size -- this should not happen, since we have locked these files, but it
271 is a good sanity check.
272 * Changed from using the mailbox.PortableUnixMailbox class to read mbox
273 mailboxes to the mailbox.UnixMailbox class. This fixes bugs where unquoted
274 'From ' lines in the body of messages were confusing archivemail.
275
276 Version 0.4.0 - 17 April 2002
277 * Added an option --no-compress to make archives but not compress them with
278 gzip.
279 * Added an option --preserve-unread to not archive unread messages.
280 * Added a few more unittests.
281
282 Version 0.3.2 - 13 April 2002
283 * Added a lot more information to the manpage, including examples and
284 notes.
285 * Fixed up the README file and archivemail usage message.
286 * Added an example archivemail shell script that I run from crontab.
287
288 Version 0.3.1 - 12 April 2002
289 * Stopped calling 'gzip' externally and started using the gzip library
290 so that we can append to a copy of the gzip archive directly.
291 * Removed 'bzip2' and 'compress' options since they are increasing
292 complexity without adding much, and needed to be called externally.
293 Maybe when python gets a bzip2 library I will add back an option to
294 compress archives using bzip2.
295 * Included a man page & sgml docbook source.
296
297 Version 0.3.0 - 11 April 2002
298 * We now preserve the last-accessed and last-modified timestamps correctly
299 * We now preserve the correct permissions on the original mailbox instead
300 of always mode 600
301 * Fixed a bug where lockfiles were being created that were not
302 world-readable
303 * Made archivemail work better when used as a python module so it can
304 integrate better with unittest. (... although I still distribute it
305 without the .py extension - dodgy?)
306 * Bundled a unit-testing script for archivemail
307 * Started using a distutils 'setup.py' script for installation.
308
309 Version 0.2.1 - 4 April 2002
310 * Since we might not have a parse-able 'Date-Received' or 'Date' field,
311 use 5 different ways to guess the date of a message.
312 * Removed the '--use-mtime' option since it is obsolete -- we will always
313 use the file modification time for the message if other date-parsing
314 methods fail.
315 * Check to see if we are running as root -- if so, change our
316 effective userid and groupid to that of the original mailbox. This will
317 make sure any archives or tempfiles we write have the same ownership and
318 will allow the root user to do "archivemail /var/spool/mail/*"
319 * Fixed a bug where if you ran 'archivemail.py foo/mbox' it would create
320 the archive file in the current directory instead of the directory 'foo'.
321
322 Version 0.2.0 - 3 April 2002
323 * Added support for reading from MH mailboxes
324 * Refuse to proceed if we would be making tempfiles in world-writable
325 directories
326 * Clamped down with lots of assert()s checking function parameters
327 * Complain earlier if we do not have permission to write to the output
328 directory
329 * Use the 'Date' field of a message when constructing the 'From_' line
330 from a maildir/MH mailbox if there is no 'Delivery-Date' field.
331
332 Version 0.1.0 - 31 March 2002
333 * Initial release