Replies: 1 comment 5 replies
-
|
Hi, thanks for the suggestion but Maildir is an ancient format that does not scale well. It is not going be supported by Stalwart. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Since I am still struggling with good backup strategies for Stalwart, a maybe slightly weird idea came to my mind: wouldn't it be relatively easy to have a secondary write-only mail storage into (nested) maildir? Let me expand that a bit:
This would have the big advantage, that it's very easy to introspect (since a ton of tools have maildir support) and it would be super easy to backup, since all filesystem-based backup solutions (like restic, kopia, etc.) can derive incremental changes to the last time.
Now in addition to this (as a next step maybe), the root directory of the secondary storage could also contain a few metadata (simple account infos) while the account directories could contain account specific infos (like sieve scripts). That way, the Stalwart CLI could even offer a restore-from-(this-specific)-maildir. All indices and database structures can be derived again from the information in this vmail structure.
An alternative to this might also be, that this isn't a secondary storage, but to implement it as primary mail storage (like the existing
filesystemstorage, but with maildir structure). I assume though, the existingfilesystemstorage isn't structured the way it is for fun, but because there's a technical necessity to it, in which case having a completely different, non-block-based structure could be an issue.Beta Was this translation helpful? Give feedback.
All reactions