How to open dovecot backup on windows and save as *.eml
I hope someone can help me.
What I need is to load dovecot backup files on windows, and save all of them as *.eml, so that I can dig through all mails it contains.
How do I go about this? My web hoster can't help me they say, they say they can only restore a full site backup and that is out of the question.
Edit:
These are the files I have
C:.
├───Maildir
│ │ subscriptions
│ │
│ └───.INBOX.spam
│ └───new
├───mdbox
│ │ dovecot.mailbox.log
│ │ dovecot.mailbox.log.2
│ │ subscriptions
│ │
│ ├───mailboxes
│ │ ├───Concepts
│ │ │ └───dbox-Mails
│ │ │ dovecot.index.cache
│ │ │ dovecot.index.log
│ │ │
│ │ ├───INBOX
│ │ │ ├───dbox-Mails
│ │ │ │ dovecot.index
│ │ │ │ dovecot.index.backup
│ │ │ │ dovecot.index.cache
│ │ │ │ dovecot.index.log
│ │ │ │
│ │ │ ├───Drafts
│ │ │ │ └───dbox-Mails
│ │ │ │ dovecot.index.log
│ │ │ │
│ │ │ ├───Sent
│ │ │ │ └───dbox-Mails
│ │ │ │ dovecot.index.log
│ │ │ │
│ │ │ ├───spam
│ │ │ │ └───dbox-Mails
│ │ │ │ dovecot.index.log
│ │ │ │
│ │ │ └───Trash
│ │ │ └───dbox-Mails
│ │ │ dovecot.index.log
│ │ │
│ │ ├───Junk
│ │ │ └───dbox-Mails
│ │ │ dovecot.index.log
│ │ │
│ │ ├───Trash
│ │ │ └───dbox-Mails
│ │ │ dovecot.index.cache
│ │ │ dovecot.index.log
│ │ │
│ │ └───Sent
│ │ └───dbox-Mails
│ │ dovecot.index
│ │ dovecot.index.cache
│ │ dovecot.index.log
│ │
│ └───storage
│ dovecot.map.index
│ dovecot.map.index.log
│ m.100
│ m.102
│ m.103
│ m.16
│ m.21
│ m.26
│ m.27
│ m.29
│ m.35
│ m.37
│ m.4
│ m.43
│ m.44
│ m.49
│ m.56
│ m.59
│ m.62
│ m.66
│ m.67
│ m.68
│ m.70
│ m.72
│ m.94
│ m.95
│ m.99
│
└───sieve
└───tmp
Solution 1:
Files in the Maildir
sudirectories are the same as *.eml
files. Just rename them, adding an extension. Yes, their base names usually look ugly, but the contents is just what you need.
That's not specific to Dovecot, but a feature of Maildir which originally was invented for qmail. For details see its specification.