#615822 local maildir accounts configuration with path in .evolution not updated after mail migration

Package:
evolution
Source:
evolution
Description:
groupware suite with mail client and organizer
Submitter:
Cedric Blancher
Date:
2021-05-20 17:21:17 UTC
Severity:
normal
Tags:
#615822#5
Date:
2011-02-28 09:11:07 UTC
From:
To:
After upgrading Evolution and associated packages to 2.32.2, I saw that
some of my local email accounts were now empty. It appears that the entire
$HOME/.evolution/mail was wiped without any notice or warning during the
upgrade. Therefore, all local emails stored there are actually *lost*.

Apparently, I am not the only one affected:
http://ubuntuforums.org/showthread.php?t=1378906

Checking last modification dates on file system, I can confirm that it is
due to upgrading Evolution. Now, is it due to Evolution upstream bug or
packaging, I don't know. But that's a serious issue as you are actually
losing email without any mean of recovering it as far as I can see...
Quite a lot as far as I am concerned :(

#615822#10
Date:
2011-02-28 15:32:23 UTC
From:
To:
Dear Cedric,
seems to have to do with Evolution now complying with the XDG Base
Directory Specification since 2.31.6 [1].

Please look under `$XDG_DATA_HOME/evolution` or `
$HOME/.local/share/evolution` for your messages.

[…]


Thanks,

Paul


PS: I am having troubles with the calendar modules, see bug 615824 [2].
It would be great if you could test that too and report back. (You can
import my messages to your MUA with `bts show --mbox 615824`, where the
program `bts` is packaged in the package `devscripts`.)


[1] http://git.gnome.org/browse/evolution/tree/NEWS?h=gnome-2-32#n312
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615824

#615822#15
Date:
2011-02-28 15:50:49 UTC
From:
To:
Le lundi 28 février 2011 à 16:32 +0100, Paul Menzel a écrit :

I did not catch this notice actually, but you are 100% right. Thanks a
lot. I have been mislead by the fact local accounts configuration was
not updated and directories recreated under $HOME/.evolution/local

Bad assumption from me, my bad.

Will do.


Bug can be closed, or severity downgraded as it misses something to
update configuration for impacted accounts.

#615822#20
Date:
2011-02-28 17:32:32 UTC
From:
To:
severity 615822 normal
tag 615822 unreproducible
thanks

Hmhm, missing the migration message is not really grave (since a lot of
people won't see at all if they just start evolution by clicking on the
icon) and the migration is usually painless (emphasis on usually :/).
Users should'nt notice anything because accounts config /is/ supposed to
be migrated too (and I have to admit on the few boxes I have, the
accounts were updated indeed).

I've downgraded but it still puzzles me. Iirc you use an exchange/mapi
account so it might be related. Does the same happen on IMAP accounts
(if you have some)?

Regards,

#615822#29
Date:
2011-02-28 19:55:18 UTC
From:
To:
Le lundi 28 février 2011 à 18:32 +0100, Yves-Alexis Perez a écrit :

IMAP accounts were not impacted and my Exchange account was not impacted
either. I guess this is because their storing cache here or there is not
account configuration related.

But, I have a local maildir account I use for local email storage, which
implies a user configuration entry to specify where you want to store
your email, $HOME/.evolution/local/mail/myaccount in my case. When
upgrading, content was moved to
HOME/.local/share/evolution/mail/myaccount but configuration was still
pointing to $HOME/.evolution/local/mail/myaccount.

#615822#34
Date:
2011-02-28 20:11:16 UTC
From:
To:
retitle 615822 local maildir accounts configuration with path in .evolution not updated after mail migration
thanks
Oh, thanks, retitling then. I don't have local mail accounts so I can't
easily reproduce but I trust you on that.

In fact, I'm not sure the bug is that the config wasn't updated, but
more that the mail folder was moved altogether, since it's not an
evolution local cache but rather a “remote” folder (it doesn't “belong”
to evolution). All in all, though, I don't think it's a good idea to put
that mail folder in the local evolution config folder since evolution
has no reason to consider it.

Regards,