automatically synchronize remote mail locally seems to not work all the time

Bug #331478 reported by marco.pallotta on 2009-02-19
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Medium
evolution-data-server (Ubuntu)
Low
Ubuntu Desktop Bugs

Bug Description

I have an imap account sync with gmail and I set "automatically synchronize remote mail locally" to have the ability to read email even when I use evolution in offline mode. But I have noticed that not all the emails were downloaded so I think this option doesn't work all the time.
In fact if I go to off-line mode (I click on the icon in the bottom left part of the client) evolution askes to me if I want to sync my folders but I reply "not sync" as I already set "automatically synchronize remote mail locally" (that is the emails should be completely downloaded and not only the header, subject, and so on as it happens in the default mode) so the emails should be already sync. But if I want to read them, some are downloaded others not. But if I select "sync" evolution starts to sync all my emails and all are readable in offline mode too.

Tested with Ubuntu Hardy Heron and Evolution 2.22.3.1

Pedro Villavicencio (pedro) wrote :

thanks for the report, could you please test the same with intrepid or jaunty? the imap backend was improved in those versions give it a try with those would be perfect, thanks in advance.

Changed in evolution:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Sebastien Bacher (seb128) wrote :

where did you set the option? in the preference or in the dialog you get when right clicking on the box?

marco.pallotta (marco-pallotta) wrote :

Sebastien, I set the option in the account preferences.

Sebastien Bacher (seb128) wrote :

not sure what the issue is then, you could try to open the bug on bugzilla.gnome.org where the people writting the software will read it or try a new version

marco.pallotta (marco-pallotta) wrote :

Well, in short, the issue is that if I set "automatically synchronize remote mail locally" evolution should automatically download all the emails locally so I can read them in off-line mode.
I have seen that not always this happens automatically. A workaround to this is, when the connection is still active, to go to off-line mode, then at this point evolution asks to you if you want to sync all your folders (I think this option should be only useful if you haven't the option "automatically synchronize remote mail locally" set), and you have to reply "sync".

Sebastien Bacher (seb128) wrote :

the issue is clear, it would still be interesting to figure which emails and not synced and if the new version is better

marco.pallotta (marco-pallotta) wrote :

Sebastien, you are right, but I haven't found any way to reproduce the issue (until now it's random). However some days ago I synced all my emails with the workaround I spoke in my previous comment and, at every new email, I'm trying to check if it's downloaded or not.
When I have some time I will try this issue in newer version, as asked by Pedro and by you.

marco.pallotta (marco-pallotta) wrote :

Today I have realized that many emails synced (downloaded) in the past days, as sayd before, aren't anymore readable (evolution says that it's not possible to recover the email).
It's a strange behaviour and surely an issue.

On Wed, 2009-02-25 at 10:19 +0000, marco.pallotta wrote:
> Well, in short, the issue is that if I set "automatically synchronize remote mail locally" evolution should automatically download all the emails locally so I can read them in off-line mode.
> I have seen that not always this happens automatically. A workaround to this is, when the connection is still active, to go to off-line mode, then at this point evolution asks to you if you want to sync all your folders (I think this option should be only useful if you haven't the option "automatically synchronize remote mail locally" set), and you have to reply "sync".
>

I did some other tests and it seems that the problem (in Hardy as I hadn't time yet to test it in Intrepid too) is that, for some reasons, the emails downloaded (as I did a "manually" sync) disappears in the filesystem. In fact in my Ubuntu folders, in the filesystem, after the syncing (some days ago), I had over 1030 mails (and this is ok as I could read in evolution) but today I only have about 500 emails (but in Evolution I can still read over 1030 emails), so this is why may emails cannot be recovered (that is because Evolution cannot find them in filesystems so it have to downloaded them again).

I made some tests under Intrepid (full update and evolution 2.24.3), with gmail imap account, and the things aren't better.
In fact either if I select or not the option "automatically synchronize remote mail locally" the new emails bodyes aren't downloaded. Then if I want to read them they are downloaded (either if I select or not the option "automatically synchronize remote mail locally"). So it seems that selecting or not this option the results are always the same.

Sebastien Bacher (seb128) wrote :

could you send the bug to bugzilla.gnome.org where the people writting the code will read it since you get the issue?

Sebastien Bacher (seb128) wrote :

did you send the bug to GNOME?

Not yet Sebastien, it's some months that I have been very busy.
I think I will do it not before two weeks next.

Changed in evolution:
status: Unknown → Confirmed
Sebastien Bacher (seb128) wrote :

Thank you for sending the bug to GNOME

Changed in evolution (Ubuntu):
status: Incomplete → Triaged
affects: evolution (Ubuntu) → evolution-data-server (Ubuntu)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-data-server - 2.27.4-0ubuntu1

---------------
evolution-data-server (2.27.4-0ubuntu1) karmic; urgency=low

  * New upstream version:
    Bug Fixes:
    Addressbook:
    - #540779 - Do not call e_book_new in the main thread (lp: #265044)
    - #563668 - Do not pop-down an empty completion list
    - #586225 - Parse numeric name suffixes
    Calendar:
    - #548702 - google calendar source does not show all events (lp: #183846)
    Mail:
    - #575701 - Message disappear from unread vfolder, when reply.
    - #568302 - create camel summary table if not exists on load
    - #586602 – folder messages are lost on folder rename
    - #327285 - Word "Success" in error message for failed action (lp: #175599)
    - #587699 - IMAP - Localize only Inbox folder name, no other
    - #579065 - IMAP - Synchronize remote mail locally is not working
      (lp: #331478)
    - #564388 - UI blocks for a long time when downloading mails with nntp
    Misc:
    - #586442 – Various build cleanups
    - #586477 – Fix quoting in configure.ac
    - #586811 – Require automake 1.9 and fix whitespace
    - #586813 – Fix iconv cflags/libs in configure.ac
    - #586809 – Enable "silent rules" automake 1.11 option
    - #587165 – Double free in initialize_categories
    - #587374 - iconv test broken on some gcc
        Other Fixes:
    Misc:
    Use G_BEGIN_DECLS / G_END_DECLS macros.
    Work around deprecation of g_mapped_file_free
    Silence some compiler warnings
    Fixes for windows build
    Calendar:
    CalDav Fixes/improvements
    Translations

 -- Sebastien Bacher <email address hidden> Mon, 13 Jul 2009 15:01:33 +0200

Changed in evolution-data-server (Ubuntu):
status: Triaged → Fix Released
Changed in evolution:
status: Confirmed → Fix Released
Demosthenes (demosthenes) wrote :

It's not working for me - using Ubuntu 9.10 Evolution 2.28.1 - have automatically synchronise set to yes and tell to synchronise before going offline but emails are still not available offline. Any thoughts?

Changed in evolution:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.