syncing mail by simply syncing the filesystem

2010-06-12 Thread Christoph Groth
Jesse, thanks a lot for your ideas. Jesse Rosenthal writes: > 1. If your other computers will have a consistent fast internet > connection (or a sufficient connection to use IMAP) consider remote > usage, keeping your database on one computer: They do, most of the time. But I really like to

process-lines: notmuch exited with status 1

2010-06-12 Thread Christoph Groth
I installed notmuch from debian testing and it seems to work OK (from the command line), e.g. newmail at argo:~$ notmuch search blabla thread:0001 Yest. 22:56 [1/1] fldsj at falma.de; blabla (inbox unread) The maildir contains just one message. Now I start up emacs, eval (require

syncing mail by simply syncing the filesystem

2010-06-12 Thread Arvid Picciani
On Sat, 12 Jun 2010 10:37:16 -0300, David Bremner wrote: > Well, only one place where you mark things unread as well with this > approach. Otherwise updating the database in two places and attempting > to sync will lead to an unmergable conflict, won't it? Oh yeah, sorry. I'm assuming "unison"

syncing mail by simply syncing the filesystem

2010-06-12 Thread Arvid Picciani
On Sat, 12 Jun 2010 09:13:07 +0200, Christoph Groth wrote: > The ideal setup would be one which would allow to use any of my > computers independently (for example when I'm away with my laptop). > When necessary, the local mail stores would be synchronized by simply > syncing the home directory

syncing mail by simply syncing the filesystem

2010-06-12 Thread Jesse Rosenthal
Hi Christoph, On Sat, 12 Jun 2010 17:47:07 +0200, Christoph Groth wrote: > > notmuch dump > nm_dump > > unison > > notmuch restore nm_dump > > This might actually be the perfect solution, if notmuch is fast enough > to dump and restore the tags in a few seconds. Well, it's a bit slower than

syncing mail by simply syncing the filesystem

2010-06-12 Thread David Bremner
On Sat, 12 Jun 2010 09:13:07 +0200, Christoph Groth wrote: > The ideal setup would be one which would allow to use any of my > computers independently (for example when I'm away with my laptop). > When necessary, the local mail stores would be synchronized by simply > syncing the home directory

syncing mail by simply syncing the filesystem

2010-06-12 Thread Jesse Rosenthal
Sorry -- unclear on a couple of points: On Sat, 12 Jun 2010 09:22:29 -0400, Jesse Rosenthal wrote: > 2. You could brute-force it. Include a nm_dump file as one of your > unison paths, along with your Maildir, then always run: > > notmuch dump > nm_dump > unison You have to run "notmuch new"

syncing mail by simply syncing the filesystem

2010-06-12 Thread Jesse Rosenthal
> Another, potentially more elegant approach is to use "notmuch remote" > scripts written by Jesse Rosenthal. I haven't done this myself, but I > did think was feasible when I looked at them. I'd certainly be happy to get some feedback on this idea, but I'm not sure if it's the right tool for

syncing mail by simply syncing the filesystem

2010-06-12 Thread Christoph Groth
Dear notmuch hackers and users, After 10 years of using Gnus I am considering to replace it with notmuch. On this occasion I would also like to make my e-mail-setup distributed in a way which does not require any central infrastructure, i.e. I would like to be able to read and write e-mail on

syncing mail by simply syncing the filesystem

2010-06-12 Thread Christoph Groth
Dear notmuch hackers and users, After 10 years of using Gnus I am considering to replace it with notmuch. On this occasion I would also like to make my e-mail-setup distributed in a way which does not require any central infrastructure, i.e. I would like to be able to read and write e-mail on

Re: syncing mail by simply syncing the filesystem

2010-06-12 Thread David Bremner
On Sat, 12 Jun 2010 09:13:07 +0200, Christoph Groth c...@falma.de wrote: The ideal setup would be one which would allow to use any of my computers independently (for example when I'm away with my laptop). When necessary, the local mail stores would be synchronized by simply syncing the home

Re: syncing mail by simply syncing the filesystem

2010-06-12 Thread Jesse Rosenthal
Another, potentially more elegant approach is to use notmuch remote scripts written by Jesse Rosenthal. I haven't done this myself, but I did think was feasible when I looked at them. I'd certainly be happy to get some feedback on this idea, but I'm not sure if it's the right tool for this

Re: syncing mail by simply syncing the filesystem

2010-06-12 Thread Jesse Rosenthal
Sorry -- unclear on a couple of points: On Sat, 12 Jun 2010 09:22:29 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: 2. You could brute-force it. Include a nm_dump file as one of your unison paths, along with your Maildir, then always run: notmuch dump nm_dump unison You have to run

Re: syncing mail by simply syncing the filesystem

2010-06-12 Thread David Bremner
On Sat, 12 Jun 2010 15:23:45 +0200, Arvid Picciani a...@exys.org wrote: syncing maildir works. notmuch's db resides inside your maildir, but its probably not safe to do while its running. And you can only have one place receive your mail, otherwise you loose tags. Well, only one place where

Re: syncing mail by simply syncing the filesystem

2010-06-12 Thread Arvid Picciani
On Sat, 12 Jun 2010 10:37:16 -0300, David Bremner brem...@unb.ca wrote: Well, only one place where you mark things unread as well with this approach. Otherwise updating the database in two places and attempting to sync will lead to an unmergable conflict, won't it? Oh yeah, sorry. I'm assuming