I'm trying to setup a new mail server for my personal use, and I want to do it better than all the prior times.
One thing that has always concerned me is backing up my inbox and other folders. In the past, I've used POP3 with Mozilla App Suite / SeaMonkey as my client, and always found it problematic to do backups, since partial backups were very problematic (short of storing the messages based on a year, and renaming and moving stuff around (and then never moving them around again), which is difficult to script on Windows anyways, and limits you to yearly backups, which get annoying to do). Also, the setup was tied to a single PC, another thing I want to avoid.
I'm now thinking of going with Dovecot IMAP4, and backing up mbox and other folders on the server with git, on a weekly, daily, hourly or per-message basis.
With git and several mbox files (mail folders), if an email moves from one mbox to another (e.g. arrives in Inbox, then gets moved to a folder), will git find out all such cases of various emails moving to various folders?
Does backing up imap mbox files with git sound feasible? Practical? Is it a good idea at all? Will it work, and will it be relatively easy to setup?
Or should I drop mbox, and go with maildir? Would git be better with maildir at all?