Commit Graph

1127 Commits

Author SHA1 Message Date
John Goerzen
9d7df0e21a Fix up date parsing to use message date if no rtime is available 2006-08-22 02:13:39 +01:00
John Goerzen
03488ba81b Sync INTERNALDATE <-> mtime
The attached patch adds syncing the INTERNALDATE of IMAP folders with
the mtime of messages in maildir folders.
I want this to happen, because I'm running a dovecot over the maildirs
synced by offlineimap, and that uses the mtime as the INTERNALDATE.
When using mutt to view messages I generally sort based on the received
date, which for IMAP folders is the INTERNALDATE.

Since this is the first real coding I've done in Python the patch may
need to be cleaned up some, but it's working pretty well for me.  I've
added new messages to each side, and the received date has been
preserved going both ways.
2006-08-22 02:09:36 +01:00
John Goerzen
e4db4200a2 Noted off-by-one fix 2006-08-12 05:18:07 +01:00
John Goerzen
132ec6550d Update changelog for 4.0.14 2006-08-12 05:17:10 +01:00
John Goerzen
39a18fef60 Update FSF address 2006-08-12 05:15:55 +01:00
John Goerzen
94264c0fb3 TAG DEBIAN_offlineimap_4.0.13-0.1 2006-08-12 05:06:24 +01:00
John Goerzen
53490772c7 Apply NMU 4.0.13-0.1 2006-08-12 05:05:39 +01:00
Adam Spiers
075f8d6e14 force prefix to /usr since SUSE's distutils seems to default to /usr/local 2006-05-16 19:13:18 +01:00
Adam Spiers
5fc0e1ae42 helpful comments 2006-05-16 04:40:23 +01:00
Adam Spiers
2b9d6f9fdc update spec file 2006-05-16 04:32:20 +01:00
Adam Spiers
b39845c488 stop UID FETCH 0 errors 2006-05-16 04:31:44 +01:00
Adam Spiers
2e52bcdafe failure to obtain uid indicated by savemessage_searchforheader return value <= 0, not ValueError 2006-05-16 04:30:48 +01:00
Adam Spiers
720511f3f1 add missing ) 2006-05-16 04:27:57 +01:00
Adam Spiers
f2d4c668d5 return 0 rather than raise exception to indicate that message was saved with unknown UID 2006-05-16 03:34:46 +01:00
Adam Spiers
f11a49f263 make savemessage_searchforheader more robust 2006-05-15 03:51:12 +01:00
Adam Spiers
ab8c9c8d40 use install --root for buildroot not --prefix 2006-05-15 03:15:23 +01:00
Adam Spiers
8642a73caa add .spec file and Makefile rule for building an rpm 2006-05-15 02:59:52 +01:00
John Goerzen
8064ee26bd Prepping 4.0.13 2006-05-04 18:37:20 +01:00
John Goerzen
5a6b2a1ebd Revert restoreatime patch 2006-05-04 09:05:46 +01:00
John Goerzen
91d7ecfc68 TAG DEBIAN_offlineimap_4.0.12 2006-05-01 20:56:11 +01:00
John Goerzen
1672ad9186 Update docs 2006-05-01 20:47:59 +01:00
John Goerzen
c0d031e760 Remove parens for SEARCH command
Patch from Adam Spiers

Reported that parens were causing trouble for Groupwise IMAP server
2006-05-01 20:40:55 +01:00
John Goerzen
7c86482b72 Noted new patch in changelog 2006-03-02 00:15:45 +01:00
John Goerzen
52ad8f876e Documented restoreatime in offlineimap.conf 2006-03-02 00:14:18 +01:00
John Goerzen
405275f541 New restoreatime patch
From: Ben Kibbey <bjk@luxsci.net>

Attached is a patch to restore the atime of Maildir folders after
syncing. It can be enabled via the 'restoreatime' boolean in the
configuration file. I needed this because offlineimap is run after a
fetchmail and my mail checker breaks.
2006-03-02 00:12:29 +01:00
John Goerzen
fabbf81c1a Workaround for bug in Exchange
With help from Mark R. Biggers, I discovered that Exchange doesn't like an
asterisk in a folder name.

Sigh.
2005-10-07 20:11:20 +01:00
John Goerzen
5272cdb75d Added example file for Exchange sync
From Mark R. Biggers
http://lists.complete.org/offlineimap@complete.org/2005/09/msg00011.html.gz
2005-10-06 20:53:32 +01:00
John Goerzen
09234620eb Regen docs 2005-09-28 18:17:13 +01:00
John Goerzen
e2b37c5d69 SGML syntax fix 2005-09-28 18:17:00 +01:00
John Goerzen
03915ddec3 Added new info about Exchange to manual 2005-09-28 18:15:03 +01:00
John Goerzen
a84dc6c486 TAG DEBIAN_offlineimap_4.0.11 2005-08-24 19:14:45 +01:00
John Goerzen
27fae4e7ac Readying 4.0.11 release 2005-08-24 19:07:15 +01:00
John Goerzen
42d9870343 Noted date fix in changelog 2005-08-24 19:05:33 +01:00
John Goerzen
1f25b5393b [324827] Fixed handling of invalid dates
Patch from Nikita V. Youshchenko

From: "Nikita V. Youshchenko" 
To: Debian Bug Tracking System
Subject: offlineimap: exception on mail with broken headers (+fix)
Date: Wed, 24 Aug 2005 13:41:08 +0400

Package: offlineimap
Version: 4.0.10
Severity: normal
Tags: patch

Recently I've got an exception (see below) while using offlineimap.
Exception was probably caused by invalid Date header of (likely spam)
message:
Date: Sat, 20 Aug 2005 4294967295:43:18 -0700
2005-08-24 19:01:42 +01:00
John Goerzen
8d3f3d5b42 Noted performance patch in changelog 2005-08-23 08:16:34 +01:00
John Goerzen
0841e03a4c [319117] Unroll loop to speed performance on large folders
From: "Nikita V. Youshchenko"
I trued to use offlineimap and found that while being quite fast on
small folders, it takes up to several minutes (of 100% busy CPU and
almost no network traffic) to sync a folder with 2000+ messages.

While looking into the code, I found why this happens.
In folder/Base.py, in method BaseFolder.syncmessagesto_copy(),
dest.getmessagelist() is called inside a loop, while being a loop
invariant. Similar thing happens in BaseFolder.syncmessagesto_delete()
for self.getmessagelist().
This causes quadratic complexity over folder size.

Moving these calls out of loops make large folder sync fast (several
seconds instead of several minutes for folder with 2000 messages on
700MHz P3).
2005-08-23 08:15:09 +01:00
John Goerzen
7a903f3bb1 Noted changelog for next upload 2005-06-17 19:19:08 +01:00
John Goerzen
d46fcf177d Regen docs 2005-06-17 19:18:30 +01:00
John Goerzen
eeb3d89aa8 Fixed foldertrans to be nametrans in doc, debian 314429 2005-06-17 19:18:10 +01:00
John Goerzen
aabe612a96 Removed old subversion commands 2005-06-02 19:58:01 +01:00
John Goerzen
bc23c299fa TAG DEBIAN_offlineimap_4.0.10 2005-05-25 00:40:29 +01:00
John Goerzen
109ca227cf Noted Debian copyright 2005-05-24 00:13:31 +01:00
John Goerzen
ea4158dd6d Updated copyright and version files for 4.0.10 2005-05-24 00:12:58 +01:00
John Goerzen
80c6b0cc0f Debian changelog note for 4.0.10 2005-05-24 00:11:22 +01:00
John Goerzen
d484b7da44 Removed unnecessary blank lines 2005-05-24 00:10:11 +01:00
John Goerzen
cf4a3b1861 Support IPv6 with SSL
Fix for Debian #309965.
2005-05-24 00:09:21 +01:00
John Goerzen
b479d74db8 TAG Final Arch version 2005-04-16 20:39:25 +01:00
John Goerzen
c42ad3ae55 Removed dep on profile
Keywords: 


(jgoerzen@complete.org--projects/offlineimap--head--1.0--patch-8)
2005-02-10 05:37:33 +01:00
John Goerzen
240585f2cc Added courier example
Keywords: 


(jgoerzen@complete.org--projects/offlineimap--head--1.0--patch-7)
2005-01-17 21:07:35 +01:00
John Goerzen
90a72c71b6 Removed old bugs.complete.org info and rebuilt docs
Keywords: 


(jgoerzen@complete.org--projects/offlineimap--head--1.0--patch-6)
2004-11-17 00:14:17 +01:00