[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot
Subject:    Re: [PATCH] [WIP]: thunderbird mboxrd to mbox
From:       Aki Tuomi via dovecot <dovecot () dovecot ! org>
Date:       2023-05-16 18:17:24
Message-ID: 860805526.11776.1684261044335 () asd-stable-core-mw-default-1 ! asd-stable-core-mw-hazelcast-headless ! asd-stable ! svc ! cluster ! local
[Download RAW message or body]


> On 16/05/2023 20:26 EEST Randy Li via dovecot <dovecot@dovecot.org> wrote:
> 
> 
> I was trying to restore email from local thunderbird download data.
> None of the script I found could work.
> This script is modified from
> superuser.com/questions/105653/how-to-convert-mboxo-mboxrd-to-mboxcl-mboxcl2
> 
> Which works for me, using this script I could use doveadm import to
> restore my INBOX(I don't know how to restore the Sent mailbox).
> 
> If this script is useful, I would rewrite one for python3 and
> following the mboxrd spec.
> 
> Signed-off-by: Randy Li <ayaka@soulik.info>

Hi!

Thank you for the script suggestion!

I would suggest that you either form a new github repo (or whatever your choice of \
poison is) and develop it there. **or** you can open a pull request at \
https://github.com/dovecot/tools/.

Mandatory steps to get it into tools:

 - Rewrite in python3
 - Add some comments

Some personal notes

I think it's just fine to output mbox format that Dovecot accepts, then it can be \
easily migrated into some other format. Doing format conversion can be more difficult \
than it is worth.

Kind regards,
Aki
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-leave@dovecot.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic