Hello,
I have a postfix server with a lot of emails for the last 8-10 years. The format is mdir and the pop/imap server is dovecot.
I would like to backup those very old emails in another location, but to be able to restore them easily if necessary.
There are more domains, each with more accounts. I would like to be able to restore in the right domain/accounts (ex:
user1@domain1.com in /var/vmail/domain1.com/user1 and
user2@domain2.com in /var/vmail/domain2/com/user2).
There are also sub-folders in every inbox. If I wouldn't take these into consideration it would be simple (I find email older then 1 year and mv them).
What would be the best approach?
Thank you