|
|
|
|
|
by commandersaki
268 days ago
|
|
I used to host my own email until switching to Fastmail. I recall roundcube to be pretty much the best webmail offering back when I was hosting but also severely lacking two important features: 1. Fast search against mailbox folders/labels with say 100k+ messages. 2. Handling multiple aliases, both individual and catch-all, and being able to automatically respond with the correct alias if an email is received using one. Fastmail webmail handles the above two cases gracefully and its usually the benchmark I apply when evaluating other providers. My understanding is roundcube is severely lacking with search being IMAP SEARCH, and requiring you to enter multiple identities manually for each alias which doesn't permit catch-alls. But the real reason I stopped running my own mail is that I didn't trust myself with regular backups (even though I still do them via IMAP on occasion) and disaster recovery. I don't think anyone self-hosting really has this figured out. |
|
On the server itself a cronjob calling rsnapshot [1] is a good habit in the event something gets corrupted or someone deletes mail by mistake and you want to save the day. RSnapshot uses hardlinks to avoid copying the same data to keep the size small which allows for many snapshots. Then a cronjob to call a script that uses either lftp+sftp+mirror or rsync to back up all the important things to a standby node along with a corresponding script on the standby node to quickly copy everything into place and start everything in an idempotent manor can get one back into operation quickly. All of this should be tested quarterly in the event some software update breaks any assumptions.
If running this on VM's in a VPS provider there may be an option in the VPS control panel to swap IP addresses on the active and standby assuming they are in the same region.
[1] - https://rsnapshot.org/rsnapshot/docs/docbook/rest.html