John Goerzen | 16 Aug 2002 22:07
Favicon

OfflineIMAP 3.2.6 released


From this changelog:

  * Changed indentation in debian/control.  Closes: #156327.
  * Removed calls to folder object deletions.  None have been implemented
    anyway.
  * folder/Maildir.py: unlink throws OSError, not IOError; fixed.
    Now handles message deleting race condition properly.
    Closes: #154497.

--

-- 
John Goerzen <jgoerzen <at> complete.org>    GPG: 0x8A1D9A1F    www.complete.org

John Goerzen | 19 Aug 2002 21:25
Favicon

Filtering coming soon to an OfflineIMAP near you


Hi,

Yes, it's coming, and it's going to kick ass :-)

Here's the details.

The prerequisites:
 * Moving of a message from one folder to another needs to be done
   more intelligently; that is, no longer a delete followed by an append
   to an IMAP server.  This is possible now, given the FMD5 fingerprint
   that messages get.  Side effect: moving large messages will not
   slow down your sync, and better reliability.

 * Ability to load full Python files into a running OfflineIMAP.
   Already done thanks to Tv.

The details:

When a message comes in, it will be passed to a Python function or lambda
after it has been downloaded from the IMAP server *AND* saved to the local
folder.

The python function will take, as arguments, the remote folder object, the
local folder object, the remote repository object, the local repository
object, the remote and local UIds, and the full message itself.  The
function will then have full autonomy to process the message as it desires. 
This processing could include:

 * deleting it
(Continue reading)

dLux | 19 Aug 2002 21:46
Picon

Error message (3.2.6)


Hello,

I got the following error message with the offlineimap 3.2.6 (debian sid):

--------------------------------
Copy message 2910 from Saved:
   Copy message 2910 IMAP[INBOX.Saved] -> Maildir[Saved]
Thread 'Copy message 2909 from Saved' terminated with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/offlineimap/threadutil.py", line 94, in run
    Thread.run(self)
  File "/usr/lib/python2.2/threading.py", line 396, in run
    apply(self.__target, self.__args, self.__kwargs)
  File "/usr/lib/python2.2/site-packages/offlineimap/folder/Base.py", line 197, in copymessageto
    message = self.getmessage(uid)
  File "/usr/lib/python2.2/site-packages/offlineimap/folder/IMAP.py", line 91, in getmessage
    return imapobj.uid('fetch', '%d' % uid, '(BODY.PEEK[])')[1][0][1].replace("\r\n", "\n")
TypeError: unsubscriptable object

select: Bad file descriptor
--------------------------------

Any idea?

Szabó, Balázs (dLux)
--

John Goerzen | 20 Aug 2002 23:11
Favicon

Re: Error message (3.2.6)


That's very weird.  Is it reproducible?  If so, please run with -1 -o -d
imap and send me the results.  If not, I'm afraid there's nothing I can do
to fix it.

-- John

On Mon, Aug 19, 2002 at 09:46:06PM +0200, dLux wrote:
>=20
> Hello,
>=20
> I got the following error message with the offlineimap 3.2.6 (debian sid):
>=20
> --------------------------------
> Copy message 2910 from Saved:
>    Copy message 2910 IMAP[INBOX.Saved] -> Maildir[Saved]
> Thread 'Copy message 2909 from Saved' terminated with exception:
> Traceback (most recent call last):
>   File "/usr/lib/python2.2/site-packages/offlineimap/threadutil.py", line=
 94, in run
>     Thread.run(self)
>   File "/usr/lib/python2.2/threading.py", line 396, in run
>     apply(self.__target, self.__args, self.__kwargs)
>   File "/usr/lib/python2.2/site-packages/offlineimap/folder/Base.py", lin=
e 197, in copymessageto
>     message =3D self.getmessage(uid)
>   File "/usr/lib/python2.2/site-packages/offlineimap/folder/IMAP.py", lin=
e 91, in getmessage
>     return imapobj.uid('fetch', '%d' % uid, '(BODY.PEEK[])')[1][0][1].rep=
lace("\r\n", "\n")
(Continue reading)

dLux | 21 Aug 2002 14:09
Picon

Courier IMAP compatibility


Hello,

I have a folder, which has more than 3000 messages and I am using
Courier IMAP.

The problem is that offlineimap uses UID SEARCH method, which seems to
be VERY slow on that folder. Does anyone has the idea how can I make it
faster?

(I am using offlineimap -o -1 -d imap, I want to reproduce the last
error which I ran into. The problem is that it seems to be VERY slow
in this way).

Szabó, Balázs (dLux)
--
                == Magzar billentzuyet ruley ==

Martijn Pieters | 23 Aug 2002 23:13

Re: rev 242 - in offlineimap/head: . debian bin


On Fri, Aug 23, 2002 at 03:55:20PM -0500, jgoerzen <at> noreply.complete.org wrote:
> Added:
>    offlineimap/head/bin/
>    offlineimap/head/bin/offlineimap
> Removed:
>    offlineimap/head/offlineimap.py
> Modified:
>    offlineimap/head/debian/changelog
>    offlineimap/head/setup.py
> Log:
>   * Moved executable to bin/offlineimap.  This will allow setup.py to
>     properly install it as offlineimap instead of offlineimap.py.

How did you move the file? Did you use 'svn move' or a delete and add combo?

--

-- 
Martijn Pieters
| Software Engineer  mailto:mj <at> zope.com
| Zope Corporation   http://www.zope.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------

John Goerzen | 1 Aug 2002 22:45
Favicon

Mailing list archives have returned


Hello,

I am pleased to announce that mailing list archives are back for all of
complete.org, aclug.org, and freeciv.org.

I took this opportunity to re-do the mailing list interfaces using my own
custom software.  Right now, the interface is very bare-bones -- I wanted to
get it UP first and then work on features -- however, it is functional. 
Searching will be arriving, and it will be nicer than it was before.

One neat feature is that all the archives are stored gzipped on disk.  If
you have a modern browser that has a built-in gzip decoder (Mozilla,
Konqueror, and IE all qualify), you should get great performance as the
archives will be transferred to you gzipped, all transparently.  For people
without that kind of software, I have written code to transparently
decompress the data before sending it to you.

The mailing list archives are accessible from any of the following URLs:

http://lists.complete.org/                       (preferred)
http://arch.freeciv.org/
http://www.complete.org/mailinglists/archives/

The listargate interface will be returning shortly as well.

Thanks,
John Goerzen

(Continue reading)

John Goerzen | 6 Aug 2002 18:02
Favicon

More services to be restored today


Hello,

A check of the FedEx delivery status page shows that the old complete.org
server is scheduled to be delivered to me today.  When I receive it, I will
be able to restore the following items:

 * quux.org download repositories for gopher, pygopherd, and offlineimap;
 * bugs.complete.org bug-tracking systems;
 * cvs.complete.org CVS repository;
 * svn.complete.org subversion repository;
 * any additional items that are still missing.

Thank you for your patience.

-- John Goerzen

--

-- 
John Goerzen <jgoerzen <at> complete.org>    GPG: 0x8A1D9A1F    www.complete.org

Bill Williamson | 6 Aug 2002 21:58

evolution


Any hints for getting offlineimap to work with ximian evolution?
Its maildir support is shakey at best, but I need to use it for my work 
email (MS exchange). 

The basic problem is that it doesn't understand a maildir name seperator, so 
it reads all my folders as (example) "Mailing Lists.blah" instead of 
"Mailing Lists/blah". 

I tried getting it to create recursive maildirs, and it does it by sticking 
a maildir inside of a maildir.  I adjusted my folder transformation thing to 
change . to /, but that didn't work (nor did I expect it to).  Any other 
hints? 

Also, I'm using courier serverside.  The default inbox is name INBOX.  Is 
there a way to get INBOX put at the root of the maildir, instead of in a 
folder called INBOX? Replacing INBOX with '' just gives me an error. 

Thanks!
 --Bill

John Goerzen | 6 Aug 2002 21:54
Favicon

Re: evolution


On Tue, Aug 06, 2002 at 02:58:02PM -0500, Bill Williamson wrote:

> Any hints for getting offlineimap to work with ximian evolution?
> Its maildir support is shakey at best, but I need to use it for my work 
> email (MS exchange). 

If I understand you correctly, Evolution is, in fact, working with
OfflineIMAP, but the folder display is not what you want it to be?

> The basic problem is that it doesn't understand a maildir name seperator, so 
> it reads all my folders as (example) "Mailing Lists.blah" instead of 
> "Mailing Lists/blah". 

On the TODO list is supporting / as a separator for Maildirs in OfflineIMAP. 
It is not currently supported, but making it work should not be terribly
hard.

> I tried getting it to create recursive maildirs, and it does it by sticking 
> a maildir inside of a maildir.  I adjusted my folder transformation thing to 
> change . to /, but that didn't work (nor did I expect it to).  Any other 
> hints? 

I will try to get a version out that has this feature within a couple of
days, depending on how soon I can get our repository back up.

> Also, I'm using courier serverside.  The default inbox is name INBOX.  Is 
> there a way to get INBOX put at the root of the maildir, instead of in a 
> folder called INBOX? Replacing INBOX with '' just gives me an error. 

(Continue reading)


Gmane