Created attachment 594593 [details] Dodji's patch for problem with empty folder names Description of problem: offlineimap in F17 suffers from the problem that it refuses to sync when you run dovecot on top of a Maildir tree. dovecot creates three directories: 'new', 'cur', and 'tmp'. offlineimap for some reason fails with the 'new' one in the root of your imap tree. This problem is present in 6.5.2.1 but not in 6.3.4 shipped with Fedora 16. Dodji Seketeli posted a patch to fix it to the upstream list, which I am attaching. The error message one gets looks as follows: [jes@red-feather ~]$ offlineimap OfflineIMAP 6.5.2.1 Licensed under the GNU GPL v2+ (v2 or any later version) Account sync RedHat: *** Processing account RedHat Establishing connection to mail.corp.redhat.com:993 Creating new IMAP folder '/' on server RemoteRedHat ERROR: Creating folder on repository RemoteRedHat Folder '/'[RemoteRedHat] could not be created. Server responded: ('NO', ['CREATE failed: invalid mailbox name']) ERROR: Folder '/'[RemoteRedHat] could not be created. Server responded: ('NO', ['CREATE failed: invalid mailbox name']) *** Finished account 'RedHat' in 0:03 ERROR: Exceptions occurred during the run! ERROR: Creating folder on repository RemoteRedHat Folder '/'[RemoteRedHat] could not be created. Server responded: ('NO', ['CREATE failed: invalid mailbox name']) ERROR: Folder '/'[RemoteRedHat] could not be created. Server responded: ('NO', ['CREATE failed: invalid mailbox name']) [jes@red-feather ~]$
Thanks for the report. I am going to push an update whenever I find the time. Currently I am a little bit busy, so if you need that patch urgently, please try to install offlineimap from source (setup.py).
Indeed. For the record, I posted the patch upstream at http://permalink.gmane.org/gmane.mail.imap.offlineimap.general/5699
Hello Christoph, Now that we are reaching interesting times for Fedora 18, it would *really* be useful to have this patch in the package. Without it, offlineimap is just useless for many of us. So it would be nice to have the patch be in Rawhide (F19) at least. So that we can at least test it for a couple of days before folding it into F18 and F17. I have had some private discussions with Nicolas Sebrecht (an offlineimap maintainer) and he is planning to apply the patch. They are still in flux with respect to the internal organization of offlineimap maintainership so things are taking time. But that shouldn't prevent us from going ahead and including this kind of patches that have been proposed upstream, should it? If you are too busy, I can help with co-maintaining this package in Fedora, if you wish. Cheers.
FYI, the patch now appears in the upstream git directory in the 'pu' (a.k.a proposed updates) branch at https://github.com/OfflineIMAP/offlineimap/commit/35bccdc7dfab8ec0c8f176b5c8ffd34e74284479.
I am currently testing a scratch build with that patch applied, on the zimbra server where I was having the issue. This is going to take several hours. I'll keep you posted. http://koji.fedoraproject.org/koji/taskinfo?taskID=4421643.
I have tested the package in Rawhide (F19) and it works for me on a Zimbra server and on a dovecot server. We can at least roll out a Rawhide build now. I'll test it on F17 a bit later and let you know.
http://koji.fedoraproject.org/koji/buildinfo?buildID=350596 has the fix for Rawhide. I'll wait until the end of this week to push it to update-testsing for F18 and F17, if it doesn't break anything in Rawhide.
I am just testing the rawhide rpm on F17, and it seems to work fine for me here. Thanks for fixing this. Jes
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
offlineimap-6.5.2.1-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/offlineimap-6.5.2.1-3.el6
Package offlineimap-6.5.2.1-3.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing offlineimap-6.5.2.1-3.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13807/offlineimap-6.5.2.1-3.el6 then log in and leave karma (feedback).
offlineimap-6.5.2.1-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to comment #12) > offlineimap-6.5.2.1-3.el6 has been pushed to the Fedora EPEL 6 stable > repository. If problems still persist, please make note of it in this bug > report. This update breaks existing config files on RHEL-6, see bug 903667.