Commit Graph

164 Commits

Author SHA1 Message Date
Nikolaus Schulz ee45d946ed test_archivemail.py: don't check for os.fork(), simply use it -- we're targeting
posix platforms only.
2006-10-27 00:13:48 +00:00
Nikolaus Schulz 06d158c576 Fixed unittest TestMboxExclusiveLock: on some systems flock(2) is emulated with
fcntl(2) calls.  fcntl locks don't support interlocking within a process, so we
need to fork() to correctly test them.
2006-10-20 22:50:38 +00:00
Nikolaus Schulz 157db85b7f Updated manpage:
From_ mangling is only done for messages from mailboxes not in mbox format.
2006-10-18 23:06:29 +00:00
Nikolaus Schulz 39f1d23993 Clarified comment about the python version required to run setup.py. 2006-10-18 01:32:51 +00:00
Nikolaus Schulz 3c0939a3ef When writing messages to mboxes, append os.linesep and mangle From_ only if the
message source is not an mbox-format folder.  
Attempts to fix broken mbox-formatted input are only asking for trouble, and
that's not our job anyway.
2006-10-18 01:20:05 +00:00
Nikolaus Schulz f4c6017d32 IMAPS and IMAP4.login_cram_md5() are new in Python 2.3; bump Python dependency
check to version 2.3.
2006-10-14 23:22:25 +00:00
Nikolaus Schulz ae5e5f63a1 Shorten credits. 2006-10-14 22:49:31 +00:00
Nikolaus Schulz 334d1ef9f1 Updated archivemail.__copyright__ 2006-10-14 22:45:25 +00:00
Nikolaus Schulz 031c6aea7c Extract $(VERSION) from setup.py. 2006-10-14 20:59:14 +00:00
Nikolaus Schulz 3354e35ec9 Disabled bdist_rpm target, it chokes on the manpage. 2006-10-14 20:57:29 +00:00
Nikolaus Schulz a121b1c1d3 Drop fakeroot from sdist rule. Not needed, Debian-specific. 2006-10-14 20:30:14 +00:00
Nikolaus Schulz eb2b4a64f9 Ported "tag" rule to svn, to the extent that's easily possible. 2006-10-14 19:37:08 +00:00
Nikolaus Schulz 4c04117de8 Forgot to commit updated troff manual. 2006-10-13 00:08:37 +00:00
Nikolaus Schulz d0a209fa7a Updated <Date/>, updated AUTHOR section. 2006-10-13 00:07:05 +00:00
Nikolaus Schulz d631079250 Added maintainer entry in setup.py.
Updated copyright notices in archivemail.py and test_archivemail.py.
2006-10-12 23:02:03 +00:00
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