Dale Harris | 3 Mar 2010 18:17
Picon

syncing local to remote

So I was thinking that offlineimap could do some syncing from local to
remove. And I do see that when I delete messages locally they are
deleted on the remote.  However, if I move messages from my INBOX to a
different folder, I don't see those messages copied back up to remote
server in that folder. Am I missing something?

--

-- 
Dale Harris
rodmur <at> maybe.org
rodmur <at> gmail.com
/.-)

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

Dominic LoBue | 4 Mar 2010 23:04
Picon

Re: syncing local to remote

On Wed, Mar 3, 2010 at 9:17 AM, Dale Harris <rodmur <at> gmail.com> wrote:
> So I was thinking that offlineimap could do some syncing from local to
> remove. And I do see that when I delete messages locally they are
> deleted on the remote.  However, if I move messages from my INBOX to a
> different folder, I don't see those messages copied back up to remote
> server in that folder. Am I missing something?
>
> _______________________________________________
> OfflineIMAP-project mailing list
> OfflineIMAP-project <at> lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project
>
> OfflineIMAP homepage: http://software.complete.org/offlineimap
>

Dale,

OfflineIMAP isn't uploading your messages because of the special
filenames that are used. I'm not 100% sure why OfflineIMAP does this,
but I do know a way around it: mangle your messages filenames.

Here's how I do it:
-First move the mail you wish OfflineIMAP to upload into a new directory.
-cd into the directory where the mail was moved.
-run the command: shopt -s extglob; for i in *; do mv "${i}"
"${i//,FMD5=+([^:])}"; done
-move the now-renamed mail into the folder OfflineIMAP is watching for
uploading.

This assumes you're running bash as your shell though.
(Continue reading)

Dale Harris | 8 Mar 2010 20:22
Picon

Re: syncing local to remote

I figured out my problem, actually, it was stupid.  I needed to make
corresponding folders on the Exchange side, and actually make sure I
was using Maildir formatted mail boxes on the local.  So just stupid
user errors, everything appears to be working now.

On Thu, Mar 4, 2010 at 5:04 PM, Dominic LoBue <dom.lobue <at> gmail.com> wrote:
> On Wed, Mar 3, 2010 at 9:17 AM, Dale Harris <rodmur <at> gmail.com> wrote:
>> So I was thinking that offlineimap could do some syncing from local to
>> remove. And I do see that when I delete messages locally they are
>> deleted on the remote.  However, if I move messages from my INBOX to a
>> different folder, I don't see those messages copied back up to remote
>> server in that folder. Am I missing something?
>>
>> _______________________________________________
>> OfflineIMAP-project mailing list
>> OfflineIMAP-project <at> lists.alioth.debian.org
>> http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project
>>
>> OfflineIMAP homepage: http://software.complete.org/offlineimap
>>
>
> Dale,
>
> OfflineIMAP isn't uploading your messages because of the special
> filenames that are used. I'm not 100% sure why OfflineIMAP does this,
> but I do know a way around it: mangle your messages filenames.
>
> Here's how I do it:
> -First move the mail you wish OfflineIMAP to upload into a new directory.
> -cd into the directory where the mail was moved.
(Continue reading)

Dan Christensen | 9 Mar 2010 03:48
Picon

Re: syncing local to remote

Dale Harris <rodmur <at> gmail.com> writes:

> I figured out my problem, actually, it was stupid.  I needed to make
> corresponding folders on the Exchange side, and actually make sure I
> was using Maildir formatted mail boxes on the local.  So just stupid
> user errors, everything appears to be working now.

Yes, I've found that if I create a local folder, offlineimap won't sync
it unless I create an empty remote folder with the same name.  But then
I sometimes find that after uploading all of the messages to the remote
folder, offlineimap downloads all of them on the next sync!  It also
seems to reverse the order of the messages in the group.

(I'm using an IMAP server at both ends, in case that matters here.)

Dan

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

Gunter Ohrner | 14 Mar 2010 11:45
Picon
Picon

Initial mailbox sync and connection problems

Hi!

I'm currently trying to populate a new Maildir by duplicating the 
contents of an existing IMAP account using offlineimap 6.2.0.

Unfortunately, the running sync often terminates with offlineimap 
exceptions for various reasons. (Obvious connectivity problems as well 
as exceptions of which I do not know the exact reason.)

When restarted, offlineimap starts to copy a lot of the already 
downloaded mails back to the server, which a) causes tons of duplicates 
and b) will never let me finish the sync... :-/

Is there any way to make offlineimap correctly recognize the mails it 
already has downloaded to stop it from pushing the massages back to the 
server?

The server is running dovecot 1.0.15 from Debian Lenny.

Greetings,

  Gunter

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

(Continue reading)

Dan Christensen | 17 Mar 2010 20:41
Picon

Re: Initial mailbox sync and connection problems

I have trouble with exceptions during large copies unless I set 

maxconnections = 1

Did you by any chance increase it?

Dan

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

Carlos Maziero | 19 Mar 2010 14:39
Picon

Syncing deleted folders

Hi all,

maybe this is a FAQ, but I didn't succeed to find an answer to it in the 
FAQs and the old postings...

I'm using offlineimap 6.2.0ubuntu2 to make a local backup of my remote 
IMAP account. I have folders and sub-folders in the server. Recently I 
observed that if I delete a sub-folder in the remote server (using 
Thunderbird), the corresponding local folder (managed by offlineimap) is 
not deleted. Also, if I move a sub-folder to another position in the 
IMAP server, offlineimap creates a folder for the new position, but does 
not delete the old one, neither its messages.

This happens all the time, even if I empty the trash and compact the 
folders using the Thunderbird interface. Since I move and delete 
sub-folders frequently, my local offline backup keeps growing all the 
time...

Any advice?

Best regards to all,

Carlos

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap
(Continue reading)

Horacio Sanson | 21 Mar 2010 04:15
Picon

Unicode Folder Names Support


I just started using offlineimap and I can tell my mutt client is
lighting fast. There is just a single problem, that I have Japanese
named folders and they look like: "&MLkwrTDrMKIwwzDXMLgw4zDRMPM-"

This is a known problem, see here:
http://software.complete.org/software/issues/show/102

I was looking at the documentation and found the nametrans option rather
interesting. I new to offlineimap and I have no idea about python so I
would like to ask the experts, before I delete my IMAP folders, if it is
possible to use this feature to convert the garbled folder names to
something that mutt can display correctly?

Something like (remember I have no clue how to use Python):

nametrans = lambda foldername: re.sub('any folder', 'to_utf8(foldername)', foldername)

--

-- 
regards,
Horacio Sanson

_______________________________________________
OfflineIMAP-project mailing list
OfflineIMAP-project <at> lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/offlineimap-project

OfflineIMAP homepage: http://software.complete.org/offlineimap

(Continue reading)

Horacio Sanson | 21 Mar 2010 12:18
Picon

Re: Unicode Folder Names Support


On Sun, Mar 21, 2010 at 12:15:57PM +0900, Horacio Sanson wrote:
> 
> I just started using offlineimap and I can tell my mutt client is
> lighting fast. There is just a single problem, that I have Japanese
> named folders and they look like: "&MLkwrTDrMKIwwzDXMLgw4zDRMPM-"
>  
> This is a known problem, see here:
> http://software.complete.org/software/issues/show/102
> 
> I was looking at the documentation and found the nametrans option rather
> interesting. I new to offlineimap and I have no idea about python so I
> would like to ask the experts, before I delete my IMAP folders, if it is
> possible to use this feature to convert the garbled folder names to
> something that mutt can display correctly?
> 
> Something like (remember I have no clue how to use Python):
> 
> nametrans = lambda foldername: re.sub('any folder', 'to_utf8(foldername)', foldername)
> 

I got something working that fixed my problem, see link below for
details, but is an ugly hack that requires modification of the
offlineimap python code to add conversion from the IMAP4 UTF-7 encoding to
UTF-8 encoding.

I would like to get some help here to integrate my code better with
offlineimap. The ideal would be to convert all IMAP folder names from
UTF-7 to a default, maybe UTF-8, encoding when manipulating local
repositories.  Even more ideal would be to add an option to the
(Continue reading)

Dominic LoBue | 22 Mar 2010 05:58
Picon

Re: Unicode Folder Names Support

On Sun, Mar 21, 2010 at 4:18 AM, Horacio Sanson <hsanson <at> gmail.com> wrote:
>
>
>
> On Sun, Mar 21, 2010 at 12:15:57PM +0900, Horacio Sanson wrote:
>>
>> I just started using offlineimap and I can tell my mutt client is
>> lighting fast. There is just a single problem, that I have Japanese
>> named folders and they look like: "&MLkwrTDrMKIwwzDXMLgw4zDRMPM-"
>>
>> This is a known problem, see here:
>> http://software.complete.org/software/issues/show/102
>>
>> I was looking at the documentation and found the nametrans option rather
>> interesting. I new to offlineimap and I have no idea about python so I
>> would like to ask the experts, before I delete my IMAP folders, if it is
>> possible to use this feature to convert the garbled folder names to
>> something that mutt can display correctly?
>>
>> Something like (remember I have no clue how to use Python):
>>
>> nametrans = lambda foldername: re.sub('any folder', 'to_utf8(foldername)', foldername)
>>
>
> I got something working that fixed my problem, see link below for
> details, but is an ugly hack that requires modification of the
> offlineimap python code to add conversion from the IMAP4 UTF-7 encoding to
> UTF-8 encoding.
>
> I would like to get some help here to integrate my code better with
(Continue reading)


Gmane