Hi,
when I switched to James, I was already using Postfix configured for
Maildir for a while. I wanted all my old email archive to be managed by
James configured with JPA to MySQL database.
Unfortunately, Postfix does not introduce the separator between header
and body James expects. This way, when you import directly your Postfix
mailbox to James database using ./james-cli.sh copymailbox
maildir-mailboxmanager jpa-mailboxmanager, you get all your emails
without body, and a wrong header.
I wrote a little tool, called postfix2james, that creates an exact copy
of the Postfix Maildir directory, but with James compliant mails. You
can check the code in https://github.com/jlarriba/postfix2james. This
mails can be imported into database with no problem.
Regards,
Juan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]