Hi Tony,

I just added a MOVEMAILS command to the current trunk RemoteManager.
https://issues.apache.org/jira/browse/JAMES-704

Being current trunk storage and config.xml compatible with 2.3.0 you may want to try to use that commands to convert your mails from one storage to another.

MOVEMAILS file://var/mail/username dbfile://maildb/inbox/username

Should work.

Please note that MOVEMAILS move messages between SPOOL repositories: if there are no concurrent processes it will work even with MAIL repositories, but I strongly suggest you to do this in a sandbox and not on a live instance of james (also because we are talking of unstable/unrelease/untested code).

So backup your db and everything else if you want to try this solution!

Cuevas Tony wrote:
First, I want to congratulate everyone that worked on the latest release, 2.3. I'm in the process of migrating and so far so good.
Does anyone have any scripts to migrate existing file based mail 
messages/repository (I know there are 2 files per message) into a db based 
repository?
Or, if anyone can tell me the structure of these files so that I can either 
write a script or program to do so then that would work as well.

Thanks in advance,

/tc




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to