
I've finally got around to copying my mail from gmail to my home machine. I'm using getmail ( http://pyropus.ca/software/getmail/ , also in the Ubuntu repos), but it barfs after collecting my 80,000 messages across six hours - and then considers the next run to be "new" so it doesn't do collect only new mail, it collects it all again. And having not spotted that these are the same messages, it duplicates them and the backup directory is now twice the size it should be ... I'm using IMAP, and yes, it's set to only collect new mail. So has anyone got getmail fully working with gmail, or does someone have another recommended way of fetching gmail onto a local machine? Thanks. -- Giles http://www.gilesorr.com/ gilesorr@gmail.com

On Mon, Nov 3, 2014 at 8:53 AM, Giles Orr <gilesorr@gmail.com> wrote:
So has anyone got getmail fully working with gmail, or does someone have another recommended way of fetching gmail onto a local machine?
I'm using offlineimap with the 'realdelete no' option so I doesn't delete the message on the remote server. offlineimap is really cool because you can call a Python function in it's config file. So if you didn't wanted to store your password you could write a Python lookup function to check your Password Manager[1]. It also allows for name translations so you can work with Gmail annoying '[Gmail]/...' folders. [1]: This is an example of one written for the Gnome Keyring: <https://wiki.archlinux.org/index.php/OfflineIMAP#Option_1:_using_gnomekeyring_Python_module>
participants (2)
-
Giles Orr
-
Myles Braithwaite