It would be nice if claws-mail settings were backed up by the maemo Backup/Restore application. Ideally in a way that 'E-mail messages' would back up the email if (and only if) one had selected 'internal storage' when setting up claws. And definitely the settings of claws should be backed up if 'Settings' are backed up. Rationale: Nokia wants users to reflash the device at each OS upgrade, hence settings of important apps should be backed up. Note: I do not know if there are some hooks in the Backup/Restore app you can tie into or if you need to simply move your preferences to a location where maemo expects preferences to sit.
note: http://maemo.org/development/documentation/tutorials/maemo_4-0_tutorial.html#backup describes how this should be done
Created attachment 518 [details] first draft of proposed file this is a first draft. this was created after configuring one IMAP server what's not backed up with this file: - POP3 stuff, I do not have a single POP3 account to try this - accountrc.tmpl (not sure if this is needed, please advise) - any log files (I see no value in backing these up) - any .bak files (idem) - nothing having 'tmp' in the name (idem) - nothing having '_history' in the name (idem) - the folder 'uidl' (not sure if this is needed, please advise) All this is still untested, I guess I will get a test when OS2008 goes from beta to final for my N800
Probably this is suited for the packager rather than in Claws directly.
Created attachment 520 [details] second draft of proposed file added folderitemrc and matcherrc now the only thing that is definitely missing is POP3 related settings, somebody comment please and a review as asked in Comment #2
in response to Comment #3 yes, definitely a packaging bug. As http://www.claws-mail.org/maemo/ tells me that you host the maemo package I figured this was the place to file the bug. If the packager does not have an account with this bugzilla, please tell and I'll move this RFE to the appropriate bugzilla (the maemo.org one I would guess)
(In reply to comment #5) > in response to Comment #3 > yes, definitely a packaging bug. As http://www.claws-mail.org/maemo/ tells me > that you host the maemo package I figured this was the place to file the bug. Yes, it's the right place, don't worry about that. I was just leaving the (passing) comment.
just a quick note to confirm that the file I submitted does work. I updated my ITOS and upon restoring the backup my claws config was restored as well. comment #2 and comment #4 are still valid.
(In reply to comment #2) Sorry for the lag. > what's not backed up with this file: > - POP3 stuff, I do not have a single POP3 account to try this The problem is that the POP3 mailbox can be named anything by the user. Probably saving /home/user/Mail (the default mailbox) would be good. > - accountrc.tmpl (not sure if this is needed, please advise) Unneeded on Maemo, indeed. > - nothing having '_history' in the name (idem) Could be nice, it'd allow people to still have the list of searched things available after upgrading, for example. > - the folder 'uidl' (not sure if this is needed, please advise) Would be good to backup: in there are the UIDL (universal ID something) of the mails that have been downloaded via POP3. Without that, all mails from a given POP3 account would be downloaded again if not deleted from the server. If you can prepare a rev3 of that settings file, I'll package it for the next release. Thanks!
Created attachment 554 [details] third draft of the proposed file this is the third draft. - backup runs fine - have not yet attempted a restore, will happen next time I update my ITOS. Any volunteers should just drop this file as /etc/osso-backup/applications/claws-mail.conf as root on their Internet Tablet and report how it worked for them.
This will be included in 3.3.0.