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.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages offlineimap depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-support                0.7.7      automated rebuilding support for P

offlineimap recommends no packages.

-- no debconf information
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

Reply via email to