Need to convert mbox to Maildir
Sami Ketola
sami.ketola at dovecot.fi
Tue Oct 2 21:17:20 EEST 2018
> On 2 Oct 2018, at 21.05, Mark Foley <mfoley at ohprs.org> wrote:
>
> I have a mbox file of emails. I want to convert this to Maildir giving me individual message
> files per email. I've looked at dsync, but as far as I can tell this wants a specific target
> user and it appears that it will "distribute" the converted messages into that user's INBOX.
>
> I don't want to put these mbox messages into any particular user's Maildir hierarchy, just
> export to file-per-message format to a destination directory of my choosing.
>
> Is this possible?
Yes.
[root at ketola /]# mkdir /test
[root at ketola /]# chown vmail /test
[root at ketola /]# doveadm backup -u sami Maildir:/test/
done.
Sami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20181002/6bd86cb7/attachment.html>
More information about the dovecot
mailing list