Re: [Evolution] How do I rerun the Evolution 3.0.x mail conversion tool ? / Manual Conversion With

On Wed, 2011-09-07 at 11:05 +-0200, Paul Menzel wrote:
Am Dienstag, den 06.09.2011, 09:00 -0600 schrieb linux guy:
I updated from F14 to F15 and in the process from Evolution 2.x to 3.0.2.

There were numerous (non Evolution) issues during the update process.
Somehow the Evolution mail conversion tool got interrupted and thus only
about 10+ACU- of my emails were converted to the new format.

How do I rerun the tool and convert the rest of my emails to the new format

I submitted report #657349 [1] for this issue but was told to ask on the
mailing list. Milan commented to manually copy all the messages [2].

Having over 40 folders I would welcome another solution though.


I converted my mbox to Maildir format using the script 
posted in Comment 1 of the following URL:

It is attached too.

Illustration of steps (be careful):

+ACQ- chmod u+-x

+ACQ- cd +AH4-/.local/share/evolution/mail/local/

The following individual commands need to be all in 1 line!
Depending on the size, each of these can take quite a long,
so go for a break and don't ^C cancel it.

Convert 1 mbox at a time to new Maildir folder:
+ACQ- echo OldSrcEmailFolderInmboxFormat .hiddenFolderNewDstMaildirFormat | 
  { read src dst ; mkdir -p +ACQ-dst/{cur,new,tmp} ; 
  /path/ ../mbox/+ACQ-src +ACQ-dst ; }

Convert .sbd nested mbox 1 at a time:
+ACQ- echo oldSrcmbox newDstMaildirNoDot | 
  { read src dst ; mkdir -p .nestedMaildir.+ACQ-dst/{cur,new,tmp} ; 
    .newNestedMaildir.+ACQ-dst ; }

Batch Conversion (Read List Of mbox Names From stdin):
+ACQ- { while read folder ; 
  do echo ; echo '---'; echo Converting +ACQ-folder ; 
  mkdir -p .NewNestedMaildir.+ACQ-folder/{cur,new,tmp} ; 
  /path/ ../mbox/OldNestedmbox.sbd/+ACQ-folder 
  .NewNestedMaildir.+ACQ-folder ; done ; }

This syntax:
  mkdir -p .nestedMaildir.+ACQ-dst/{cur,new,tmp}
is mkdir 3 directories at a time -- 
  .nestedMaildir.+ACQ-dst/new, etc.

After all (or each one), start Evolution, 
click to open the new folder,
and click away to another folder
to trigger the loading of the new mail folder.

Hope that workaround the mail conversion problem.

Daniel Yek.

Description: Text Data

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]