You are not logged in.

#1 2013-09-08 07:24:15

tomgg
Member
Registered: 2013-05-01
Posts: 40

[SOLVED] An offlineimap question

Greetings,

I am trying to set up offlineimap with a Gmail account. Due to a network issue during the initial sync, I was only able to download ~50% of the mail stored with Google (I had to SIGINT, since offlineimap didn't seem to recognize that the had connection restored). My question is: if I were to evoke "offlineimap -o" again, how would the sync occur? Would I be pushing the incomplete local repo to Gmail (and hence deleting half the mail in the account), or would the local repo continue to be grown by downloading the to-be-copied mail presently on the Google server?

Thanks! And, yes, I did try reading the f manual; I can't work out how to read the local cache files (~/.offlineimap/...) though.

Last edited by tomgg (2013-09-08 10:40:26)

Offline

#2 2013-09-08 07:41:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] An offlineimap question

You will continue to download the mail on the server. You would only delete mail on the server if your local maildirs were non-existent.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-09-08 08:30:01

tomgg
Member
Registered: 2013-05-01
Posts: 40

Re: [SOLVED] An offlineimap question

I'm sure you wouldn't have given any wrong info (you appear to be a well privileged poster) but I will wait until I can confirm this myself (don't want to lose all my email!). Can you explain the local cache files for me? The files I can find look like

n-1:S
n:
n+1:S

for some integer n; so, the integer is obviously some number Google uses to index the mail, but what is the "S" or its possible variants?

Offline

#4 2013-09-08 09:40:03

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] An offlineimap question

If you are concerned about losing mail, and you don't have a backup, you could use a tool that allows you to specify how you want to sync, like isync; I have used it to recover an accidentally deleted IMAP mail store.

I have no idea about those files.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB