Nikolaus Schulz
8d01846e3f
Manpage, TODO, CHANGELOG: document and record wildcard expansion in IMAP mailbox names
2010-08-09 11:43:10 +02:00
Nikolaus Schulz
3a9a5cd4b8
New option --archive-name, alias -a, to hard-code the archive filename
2010-07-31 20:49:30 +02:00
Nikolaus Schulz
f1f34ca46e
Don't create hidden archives when archiving mailboxes with leading dots in the name
...
When archiving a mailbox with leading dots in the name and no archive name
prefix specified, strip the dots off the archive name. This is targeting
Maildir++ subfolders.
2010-07-31 20:49:29 +02:00
Nikolaus Schulz
b6bc92c34f
New option --archive-prefix, alias -p
...
Technically, this works just like the --suffix option. This commit also
updates the manpage accordingly.
Currently, the prefix is not checked for slashes, so it could contain path
components. (The same applies for the suffix, btw). Since the expanded
string is prepended to the archive base name, this can be used to dynamically
configure the archive directory, depending on the archive cutoff date. I'm
not sure if this can be considered a reasonable feature, though.
2010-07-31 20:49:03 +02:00
Nikolaus Schulz
f22fe4decd
Detect and never archive IMAP server pseudo mbox messages
...
IMAP servers (Dovecot and UW-IMAP at least) may store mailbox meta data for
mboxes in a pseudo message. Such messages are now detected and never archived.
This commit includes a test case in the test suite.
2010-07-30 19:15:21 +02:00
Nikolaus Schulz
d99b4b4414
Give the changelog some more love
...
Add references to bug numbers and be more verbose.
2010-07-30 15:42:26 +02:00
Nikolaus Schulz
a04226580b
Bump version to 0.8.0
2010-07-29 21:02:07 +02:00
Nikolaus Schulz
89cff1807c
Updated changelog, which was very outdated
2010-07-29 20:39:50 +02:00
Nikolaus Schulz
78b4923832
IMAP: be NAMESPACE-aware; improved probing for guessed mailbox names.
...
* Automatically add NAMESPACE prefix to the mailbox path if necessary,
* Explicitely check for guessed mailbox names with LIST instead of just trying
to SELECT them.
* Updated documentation about NAMESPACE handling.
2008-04-08 15:38:51 +00:00
Nikolaus Schulz
bc5c3d5e45
Updated changelog, which was a little behind.
2008-03-15 20:51:40 +00:00
Nikolaus Schulz
8e5c870057
guess_delivery_time():
...
* look for the timestamp of the latest 'Received' header before resorting to
'Date' or 'Resent-Date'.
* let 'Resent-date' header take precedence over 'Date'.
Document these changes in manpage and changelog.
Closes : #1481316 , #1764855 , Debian bug #272666 .
2007-11-13 21:13:38 +00:00
Nikolaus Schulz
4584dffe14
Fixed date header parsing to be precise with timezone information. Also, when
...
writing From_ line timestamps, don't use UTC but local time, without timezone
information.
2007-11-13 02:59:31 +00:00
Nikolaus Schulz
f1784f3093
RELNOTES, CHANGELOG: updated for v0.7.2, which fixes a crash with IMAP and
...
python << 2.5.
2007-11-09 14:46:17 +00:00
Nikolaus Schulz
c4841fe4cd
CHANGELOG: added entry about IMAP delimiter detection and recovery.
2007-11-07 23:58:48 +00:00
Nikolaus Schulz
74c871644e
When converting from other formats to mbox, don't preserve existing 'Status' and
...
'X-Status' mbox headers, we better overwrite them with correct values.
2007-11-02 23:35:50 +00:00
Nikolaus Schulz
c0552fcd06
With IMAP no IdentityCache object was initialized, causing a crash if
...
--warn-duplicates was used. Closes: Debian bug #434786 .
2007-11-02 21:53:20 +00:00
Nikolaus Schulz
aae08fe3fb
Let archivemail accept --days=0.
2007-11-02 21:18:23 +00:00
Nikolaus Schulz
59e9715021
Expand tilde in argument of long option --pwfile.
2007-11-02 21:06:59 +00:00
Nikolaus Schulz
b2f94206b1
Deprecate the old automatic seteuid feature; document this in the manpage and
...
changelog, and let archivemail spit a warning when it changes the effective user
id.
2007-11-02 20:26:40 +00:00
Nikolaus Schulz
3ee105d766
If running as root, only switch the effective uid and gid back if we have
...
actually switched them before.
2007-11-02 18:47:23 +00:00
Nikolaus Schulz
bcb00dbbed
CHANGELOG: updated to cover fixed IMAP message flag handling and new --copy
...
option.
2007-11-02 17:53:29 +00:00
Nikolaus Schulz
6d2d1fba44
Changelog: updated latest entry: added credit to Elan Ruusamäe for tracking
...
#1783369 down, and made it more verbose about the related Debian bugs.
2007-11-01 11:55:12 +00:00
Nikolaus Schulz
b40728e740
Updated changelog about latest bugfix (skipping invalid files in Maildirs).
2007-10-24 02:33:31 +00:00
Nikolaus Schulz
0e9ae1d91b
New IMAP URL parser that understands double-quoted usernames and passwords.
...
Closes : #1640878
2007-10-23 22:48:15 +00:00
Nikolaus Schulz
255a475978
Use a wrapper around rfc822.Message.fp to find the filename for Maildir/MH
...
emails. Python 2.5 broke backward compatibility for Maildirs. :-/
Closes : #1670422
2007-10-22 22:03:44 +00:00
Nikolaus Schulz
faa68b2048
Bumped version to 0.7.0
2006-11-02 06:43:09 +00:00
Nikolaus Schulz
58f67ff286
Changelog update: added IMAP error reporting
2006-11-02 05:49:18 +00:00
Nikolaus Schulz
e9a11944f1
Updated CHANGELOG and polished it a bit for the upcoming release.
2006-10-31 05:00:15 +00:00
Nikolaus Schulz
e78b33e115
Updated CHANGELOG.
2006-10-28 18:42:17 +00:00
Nikolaus Schulz
bd2f65d0af
Changelog: added entry for CRAM-MD5 login to the changelog of the latest
...
version 0.6.2.
2006-10-28 18:31:29 +00:00
Peter Poeml
933aa18259
bump version to 0.6.2
2006-06-27 04:44:28 +00:00
Paul Rodger
64d87da307
Use the archive cut-off date rather than the current time with the
...
--suffix option.
2002-11-21 22:57:13 +00:00
Paul Rodger
9d08aca3b9
Fixed date typo.
2002-10-30 23:54:23 +00:00
Paul Rodger
799f4affcd
Removed a test rule that says we can confidently archive messages
...
older than the unix epoch. (New versions of python return OverFlow
error instead)
2002-10-30 23:51:08 +00:00
Paul Rodger
6a91347b88
Added IMAP support.
2002-10-03 06:27:08 +00:00
Paul Rodger
485b7f882a
Opps - forgot to commit the new version number changes (0.5.1)
2002-09-19 00:10:06 +00:00
Paul Rodger
3939c48518
Fixed a bug where mailbox locking would fail under Solaris, also fixed
...
a bug where archiving maildir mailboxes without a 'Received Date' or
'From' header would fail.
Removed another assert() statement that would crash on the unix epoch.
2002-09-15 06:14:57 +00:00
Paul Rodger
5264ab35cd
Fixed a bug where we would throw an exception if a message was dated
...
exactly on the unix epoch. Also fixed a bug where trailing slashes
were being passed to the archive file name.
2002-08-18 12:17:56 +00:00
Paul Rodger
518654df61
We now call mkdir() to create a temporary directory to store any generated
...
tempfiles. This should be a lot more secure.
2002-05-20 06:14:54 +00:00
Paul Rodger
ccea93db68
Got ready for release of 0.4.7
2002-05-09 04:16:46 +00:00
Paul Rodger
7c8b58dea3
Fixed a bug where archivemail would abort if it got a date header
...
with a completely blank value.
2002-05-07 12:14:29 +00:00
Paul Rodger
e4adb7b222
Fixed a bug where the os.rename() calls could fail if we are moving files
...
between partitions.
2002-05-06 03:06:40 +00:00
Paul Rodger
ca6933b50f
Opps - forgot to put the size option in the manpage.
2002-04-29 12:42:43 +00:00
Paul Rodger
dcff0c0c85
Added a --size option to only archive messages over a certain byte size.
2002-04-29 12:20:45 +00:00
Paul Rodger
244c88d4b9
Added a lot more tests to test_archivemail.py.
2002-04-28 04:04:49 +00:00
Paul Rodger
bc41b68389
Fixed a bug where the long --suffix option was not working (although the
...
short option, '-s' was).
Added time-based format directives to the --suffix option, so that you
can do things like specify --suffix='%B%Y' to create archives named
after the current month and year.
Added some more tests to test_archivemail.py
2002-04-27 06:08:45 +00:00
Paul Rodger
9736dff04d
Fixed bugs where archivemail would refuse to work on python version less than
...
2.2.
2002-04-26 03:04:02 +00:00
Paul Rodger
f1f2b97b1b
Added another test, got ready for 0.4.2 release.
2002-04-24 13:22:11 +00:00
Paul Rodger
14d58baee1
Added a lot more system tests.
...
Hopefully I haven't gone too overboard with 957 lines of testing code for
a 1100 line program :)
2002-04-24 07:44:59 +00:00
Paul Rodger
a79e730127
Complain if the mailbox to be read does not look like a valid mbox-format
...
mailbox when it is a singular file.
2002-04-23 04:30:42 +00:00