Import collection of files containing one raw message each into dovecot
Hi,
given a bunch of files, each containing the raw source of a single email message. There's no structural or naming scheme like Maildir or something. Is there a (easy) way to import those mails into dovecot? AIUI doveadm import needs a source location in a supported mailbox format - which doesn't seem applicable here.
-- Regards mks
On 21/03/2023 15:50 EET Markus Schönhaber dovecot@list-post.mks-mail.de wrote:
Hi,
given a bunch of files, each containing the raw source of a single email message. There's no structural or naming scheme like Maildir or something. Is there a (easy) way to import those mails into dovecot? AIUI doveadm import needs a source location in a supported mailbox format - which doesn't seem applicable here.
-- Regards mks
doveadm save
should help you there.
Aki
21.03.23, 14:58 +0100, Aki Tuomi:
On 21/03/2023 15:50 EET Markus Schönhaber dovecot@list-post.mks-mail.de wrote:
given a bunch of files, each containing the raw source of a single email message. There's no structural or naming scheme like Maildir or something. Is there a (easy) way to import those mails into dovecot? AIUI doveadm import needs a source location in a supported mailbox format - which doesn't seem applicable here.
doveadm save
should help you there.
Indeed, it does. I'm not sure how I managed to overlook doveadm save. Thanks for really spelling that out for me!
-- Regards mks
participants (2)
-
Aki Tuomi
-
Markus Schönhaber