mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.94k stars 1.17k forks source link

Export specific user mailbox (to .mbox or other) to prepare for deletion #4460

Open MDKAOD opened 2 years ago

MDKAOD commented 2 years ago

Summary

When closing out a user's mailbox, I would like to be able to archive the messages as the mailbox is when the account is closed.

Motivation

An .mbox file would allow an administrator to preserve the account while removing data from "hot storage".

Additional context

I'm aware that vmail can be backed up with the helper scripts, but there appears to be no easy way to export a specific user mailbox before deleting an account. If this exists in some way, I didn't see it in the backup documentation.

chriscroome commented 2 years ago

This would be a nice feature enhancement, I have had clients ask for this a few times, having to use POP3 or IMAP to download a mailbox archive isn't a great option for less technical users.

ghost commented 2 years ago

Even better, going further in this feature proposal, it would be amazing to be able to retrieve a SOGo archive of a user's profile. Containing exports from CalDav, CardDav, etc.

As it can be done with another tooling system, sogo-tools, it can be another button on the web interface. Just bellow the one for the emails part for example.