git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git for mail synchronization
@ 2011-03-06 19:10 Enrico Weigelt
  2011-03-06 19:56 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Enrico Weigelt @ 2011-03-06 19:10 UTC (permalink / raw
  To: git


Hi folks,


I'm currently thinking about using git for mail synchronization.
The scenario:

* multiple hosts share a set of maildirs where new mails can be
  added or removed arbitrarily (using non-conflicting filenames,
  eg. their sha-hashes)
* on each host, the current tree is committed in some time
  interval
* the hosts pull from each other and merge in the other's trees.


Could this work well ?


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git for mail synchronization
  2011-03-06 19:10 git for mail synchronization Enrico Weigelt
@ 2011-03-06 19:56 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2011-03-06 19:56 UTC (permalink / raw
  To: git

On Sun, Mar 06, 2011 at 08:10:13PM +0100, Enrico Weigelt wrote:
> 
> Hi folks,
> 
> 
> I'm currently thinking about using git for mail synchronization.
> The scenario:
> 
> * multiple hosts share a set of maildirs where new mails can be
>   added or removed arbitrarily (using non-conflicting filenames,
>   eg. their sha-hashes)
> * on each host, the current tree is committed in some time
>   interval
> * the hosts pull from each other and merge in the other's trees.
> 
> 
> Could this work well ?

It can work, there was a blog post somewhere that showed one solution
for this type of thing, google is your friend here.

But, I would recommend just using something like offlineimap instead, it
handles stuff like this much easer than git, and then using git to store
an "archive" version of emails you want to keep longer.  That's what I
do and it's much easier in the end.

best of luck,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-06 19:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-06 19:10 git for mail synchronization Enrico Weigelt
2011-03-06 19:56 ` Greg KH

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).