1
0
Fork 0
mirror of https://git.code.sf.net/p/archivemail/code synced 2024-12-23 00:06:43 +00:00
Commit graph

99 commits

Author SHA1 Message Date
Nikolaus Schulz
b682b26398 Added new option --dont-mangle-from to turn off From_ mangling. 2006-10-12 21:14:04 +00:00
Nikolaus Schulz
6198341eef Made From_ mangling work reliably with large messages, too. 2006-10-12 19:28:30 +00:00
Nikolaus Schulz
88ef628f20 Mangle From_ in message bodies. 2006-10-12 18:19:01 +00:00
Nikolaus Schulz
a0994e6a57 Terminate each message in newly written mbox with an empty line. 2006-10-12 17:35:37 +00:00
Nikolaus Schulz
539894ced4 Implemented --dry-run and --delete for IMAP, both do no not download messages.
Stats are still missing.
2006-10-12 01:02:35 +00:00
Nikolaus Schulz
800a957b59 Preparing the implementation of IMAP --delete:
if not dry-running, delete messages whether we archived them or not.
2006-10-11 19:56:50 +00:00
Nikolaus Schulz
27ca6547c5 Kindly shutdown IMAP connection when doing a --dry-run, too. 2006-10-11 19:28:36 +00:00
Nikolaus Schulz
b8b64804c9 _archive_imap(): deleted unused variable. 2006-10-11 19:18:43 +00:00
Nikolaus Schulz
ab28001c84 Fixed invalid IMAP filter string for large messages (--size option).
Closes: #863813
2006-10-02 00:22:58 +00:00
Nikolaus Schulz
931c2118f3 Removed trailing space from svn:ignore pattern. 2006-10-01 02:35:52 +00:00
Nikolaus Schulz
a6ff806d2a Fixed unittest failure by updating --suffix testcase: archivemail used to expand
date directives in the suffix to the current date, but rev. 94 changed that to
the archive cut off date.  Based on analysis by Peter Poeml.  Thanks, Peter.
2006-10-01 02:32:19 +00:00
Nikolaus Schulz
6895571d3b Switched rule for archivemail.html to docbook-tools/docbook-utils.
Since we already run docbook2man, we build-depend on that package anyway, and
the current, hand-crafted jade command fails on Debian systems (wrong path to
stylesheet).
2006-09-29 23:14:10 +00:00
Nikolaus Schulz
a8fd65eb5a Added temporary files manpage.{links,refs} from docbook2man to svn:ignore. 2006-09-29 00:53:17 +00:00
Nikolaus Schulz
f302156d41 Removed obsolete .cvsignore, svn:ignore ist set accordingly. 2006-09-29 00:31:54 +00:00
Nikolaus Schulz
874f325330 Updated description of the IMAP URL syntax: list the methods to specify the
password, document the IMAPS capability and its syntax.
2006-09-28 23:56:31 +00:00
Nikolaus Schulz
74922b1beb Document new options --pwfile and --filter-append and their short counterparts
in the manual.
2006-09-28 23:49:45 +00:00
Nikolaus Schulz
dbe3c9ce4b Fixed typo in description of IMAP URL syntax. 2006-09-28 23:43:50 +00:00
Nikolaus Schulz
140596178c Convert on-the-wire CRLF to native EOL when saving messages from an IMAP folder. 2006-09-28 23:31:47 +00:00
Nikolaus Schulz
8d5b36dc3a Fixed IMAP authentication/URL parsing. Require username encoded in URL, but be
flexible with the password: handle both --pwfile and URL-encoded password, and
fallback to querying the user if neither is present.
2006-09-28 23:26:58 +00:00
Nikolaus Schulz
dc023db895 Fixed guess_return_path() to actually extract 'Return-path' and 'From' headers. 2006-09-28 22:26:07 +00:00
Nikolaus Schulz
8f47290956 Fixed long options --filter-append and --pwfile to accept their arguments. 2006-09-28 22:19:12 +00:00
Peter Poeml
75506d9be2 check in the man page, so it doesn't need to be generated locally 2006-06-27 05:38:56 +00:00
Peter Poeml
83ac69d0f8 fix setup.py 2006-06-27 05:25:10 +00:00
Peter Poeml
933aa18259 bump version to 0.6.2 2006-06-27 04:44:28 +00:00
Peter Poeml
e00581acb2 new command line option: -F, --filter-append=STRING append arbitrary string to the IMAP filter string 2006-06-27 04:40:24 +00:00
Peter Poeml
adfb7a63d7 don't delete more than a certain number of messages at a time. The max command len is limited. Fixes bug 942403 (Archiving large IMAP folders fails) 2006-06-18 11:36:57 +00:00
Peter Poeml
07aca153f6 - fix last patch: don't fail if server URL doesn't contain username of password; try plain as well as cram-md5 login 2006-06-16 09:22:47 +00:00
Peter Poeml
a91b2064cb - add SSL support per imaps URL (after patch by Tobias Gruetzmacher)
- add -P/--pwfile option to supply the IMAP password, so it does not end up in the shell history
2006-06-16 08:34:22 +00:00
Peter Poeml
05c599028e fix SyntaxWarning: assignment to None (bug #843890) 2006-04-25 21:13:53 +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
60f119d64a Don't assume that root's grpid is '0' -- on solaris it can be different. 2002-11-07 22:54:03 +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
baeb03abd4 If we are running as root we setuid() to the user who owns the mailbox. But I
forgot to make sure we create our temporary container directory as that user
too.
2002-09-16 11:35:03 +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
604e11428f Updated version numbers. 2002-05-20 06:15:54 +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
7187dd8f6f Let's try to get my email address a bit less easy to get by spammers. 2002-04-30 23:55:52 +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
3c91240e66 Added info about test_archivemail.py 2002-04-29 12:25:15 +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
15be93bd0d Fixed a bug where if you use the '--delete' option to completely clean
an mbox mailbox you would get a python error.
2002-04-28 04:00:11 +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