diff --git a/head/ChangeLog b/head/ChangeLog index 9053720..e133fff 100644 --- a/head/ChangeLog +++ b/head/ChangeLog @@ -1,3 +1,16 @@ +2002-06-21 22:03 jgoerzen + + * offlineimap.py, offlineimap/folder/IMAP.py: Fixed a bug with + writing messages out to the server. + +2002-06-21 15:24 jgoerzen + + * README, debian/control: typo fixes + +2002-06-21 15:15 jgoerzen + + * ChangeLog: MORE PREP + 2002-06-21 15:15 jgoerzen * debian/changelog: Noted bug closing diff --git a/head/debian/changelog b/head/debian/changelog index c68c151..e7820c1 100644 --- a/head/debian/changelog +++ b/head/debian/changelog @@ -1,3 +1,12 @@ +offlineimap (1.0.1) unstable; urgency=low + + * Fixed a bug with writing messages to some IMAP servers. Turns + out we need to issue CHECK between APPEND and SEARCH for some. + Thanks to Donovan Lange for reporting this bug and helping track it + down. + + -- John Goerzen Fri, 21 Jun 2002 22:03:12 -0500 + offlineimap (1.0.0) unstable; urgency=low * Initial Release. Closes: #150571. diff --git a/head/offlineimap.py b/head/offlineimap.py index 6122088..85dc478 100644 --- a/head/offlineimap.py +++ b/head/offlineimap.py @@ -21,6 +21,8 @@ from offlineimap import imaplib, imaputil, imapserver, repository, folder, mbnam import re, os, os.path, offlineimap, sys from ConfigParser import ConfigParser +# imaplib.Debug = 5 + ui = offlineimap.ui.TTY.TTYUI() ui.init_banner() diff --git a/head/offlineimap/folder/IMAP.py b/head/offlineimap/folder/IMAP.py index d125d11..6d3d7e5 100644 --- a/head/offlineimap/folder/IMAP.py +++ b/head/offlineimap/folder/IMAP.py @@ -84,7 +84,8 @@ class IMAPFolder(BaseFolder): assert(self.imapobj.append(self.getfullname(), imaputil.flagsmaildir2imap(flags), date, content)[0] == 'OK') - + # Checkpoint. Let it write out the messages, etc. + assert(self.imapobj.check()[0] == 'OK') # Now find the UID it got. matchinguids = self.imapobj.uid('search', None, '(HEADER Message-Id %s)' % mid)[1][0] diff --git a/head/offlineimap/version.py b/head/offlineimap/version.py index 6bd1cf9..8596401 100644 --- a/head/offlineimap/version.py +++ b/head/offlineimap/version.py @@ -1,5 +1,5 @@ productname = 'OfflineIMAP' -versionstr = "1.0.0" +versionstr = "1.0.1" versionlist = versionstr.split(".") major = versionlist[0]