On Tue May 13 2008 6:15:38 am Trent W. Buck wrote:
> Package: offlineimap
> Version: 5.99.11
> Severity: normal
> File: /usr/share/python-support/offlineimap/offlineimap/folder/Gmail.py
> Tags: patch
>
> Gmail's IMAP folder layout appears to have changed slightly since
> Gmail.py was written. The attached patch converts it to what *I* see
> in mutt, gnus and thunderbird when looking at the folder layout.
>
> I have not tested whether applying the patch works, since I haven't
> deleted anything yet.
That looks like a simple patch. However, I would really like you to test it
before I apply it, since I don't use Gmail. Could you please do so?
CCing Riccardo, who wrote the original Gmail support.
Thanks,
-- John
diff -ud /usr/share/python-support/offlineimap/offlineimap/folder/Gmail.py /tmp/buffer-content-21426Tw
--- /usr/share/python-support/offlineimap/offlineimap/folder/Gmail.py 2008-03-09 00:47:32.000000000 +1100
+++ /tmp/buffer-content-21426Tw 2008-05-13 21:13:08.036135656 +1000
@@ -37,10 +37,10 @@
"""
#: Where deleted mail should be moved
- TRASH_FOLDER='[Gmail]/Trash'
+ TRASH_FOLDER='[Google Mail]/Bin'
#: Gmail will really delete messages upon EXPUNGE in these folders
- REAL_DELETE_FOLDERS = [ TRASH_FOLDER, '[Gmail]/Spam' ]
+ REAL_DELETE_FOLDERS = [ TRASH_FOLDER, '[Google Mail]/Spam' ]
def __init__(self, imapserver, name, visiblename, accountname, repository):
self.realdelete = repository.getrealdelete(name)
Diff finished. Tue May 13 21:13:08 2008