{"thread":{"id":"26672","subject":"git for mail synchronization","startedAt":"2011-03-06T19:10:13Z","lastAt":"2011-03-06T19:56:48Z","messageCount":2,"participants":["Enrico Weigelt","Greg KH"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"162850","messageId":"20110306191013.GA12688@nibiru.local","threadId":"26672","inReplyTo":null,"subject":"git for mail synchronization","fromName":"Enrico Weigelt","fromEmail":"weigelt@metux.de","sentAt":"2011-03-06T19:10:13Z","receivedAt":"2011-03-06T19:10:13Z","isPatch":false,"sender":{"key":"weigelt@metux.de","avatar":null},"body":"\nHi folks,\n\n\nI'm currently thinking about using git for mail synchronization.\nThe scenario:\n\n* multiple hosts share a set of maildirs where new mails can be\n  added or removed arbitrarily (using non-conflicting filenames,\n  eg. their sha-hashes)\n* on each host, the current tree is committed in some time\n  interval\n* the hosts pull from each other and merge in the other's trees.\n\n\nCould this work well ?\n\n\ncu\n-- \n----------------------------------------------------------------------\n Enrico Weigelt, metux IT service -- http://www.metux.de/\n\n phone:  +49 36207 519931  email: weigelt@metux.de\n mobile: +49 151 27565287  icq:   210169427         skype: nekrad666\n----------------------------------------------------------------------\n Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme\n----------------------------------------------------------------------\n"},{"id":"162855","messageId":"20110306195648.GA10264@kroah.com","threadId":"26672","inReplyTo":"20110306191013.GA12688@nibiru.local","subject":"Re: git for mail synchronization","fromName":"Greg KH","fromEmail":"greg@kroah.com","sentAt":"2011-03-06T19:56:48Z","receivedAt":"2011-03-06T19:56:48Z","isPatch":false,"sender":{"key":"greg@kroah.com","avatar":"https://gravatar.com/avatar/5bb5aa0cc2e01c00ec899d11130c07796bc186e465bae57bc34873b13b72c7c8?d=mp&s=160"},"body":"On Sun, Mar 06, 2011 at 08:10:13PM +0100, Enrico Weigelt wrote:\n> \n> Hi folks,\n> \n> \n> I'm currently thinking about using git for mail synchronization.\n> The scenario:\n> \n> * multiple hosts share a set of maildirs where new mails can be\n>   added or removed arbitrarily (using non-conflicting filenames,\n>   eg. their sha-hashes)\n> * on each host, the current tree is committed in some time\n>   interval\n> * the hosts pull from each other and merge in the other's trees.\n> \n> \n> Could this work well ?\n\nIt can work, there was a blog post somewhere that showed one solution\nfor this type of thing, google is your friend here.\n\nBut, I would recommend just using something like offlineimap instead, it\nhandles stuff like this much easer than git, and then using git to store\nan \"archive\" version of emails you want to keep longer.  That's what I\ndo and it's much easier in the end.\n\nbest of luck,\n\ngreg k-h\n"}]}