Synchronising mail and notmuch tags between machines

2014-11-12 Thread Edward Betts
I've written some code to synchronise mail between my server and laptop. I have notmuch running on both machine, whenever mail is added to notmuch, it is tagged as needing to be copied to the other machine, the tags are sync-to-laptop and sync-to-server. Whenever I modify the tags on a mail I'm

exim pipe transport, notmuch insert and mbox-style messages

2014-11-22 Thread Edward Betts
My mail arrives on a Debian machine running exim. It was being filtered by procmail then piped into 'notmuch insert'. This was generating the single-message mbox warning: Warning: ... is an mbox containing a single message, likely caused by misconfigured mail delivery. Support for

Re: exim pipe transport, notmuch insert and mbox-style messages

2014-11-29 Thread Edward Betts
David Bremner da...@tethera.net wrote: Edward Betts edw...@4angle.com writes: I wonder if 'notmuch insert' could be modified to detect and drop the From_ line before writing the message to disk and index it. It could do that silently or with a warning. I don't know about the larger

exim config for 'notmuch insert' retry

2014-12-16 Thread Edward Betts
Short version: exim has an option to retry delivery when notmuch insert fails Long version: I'm using maildrop and 'notmuch insert' to sort and tag my incoming mail. Sometimes 'notmuch insert' isn't able to write to the notmuch index because another process is holding the notmuch write lock. At

Re: [PATCH] Don't bother checking for mbox files

2016-03-13 Thread Edward Betts
Keith Packard wrote: > Postfix adds mbox-style From lines when used in combination with > maildrop or .forward files. If they have another line starting with > 'From ' in them, notmuch complains about them not being mail files. > > If we assume the user hasn't screwed up and

FastMail uses xapian for real time search, can we do the same?

2016-03-24 Thread Edward Betts
I've tried using 'notmuch insert' with mutt-kz, the mutt fork that talks to the notmuch database. Both keep trying to grab the write lock at the same time. I tag a mail in mutt-kz and it writes the new tag to the database, at the same time a new mail is coming in. Either 'notmuch insert' has the

Synchronising mail and notmuch tags between machines

2014-11-12 Thread Edward Betts
I've written some code to synchronise mail between my server and laptop. I have notmuch running on both machine, whenever mail is added to notmuch, it is tagged as needing to be copied to the other machine, the tags are sync-to-laptop and sync-to-server. Whenever I modify the tags on a mail I'm

exim pipe transport, notmuch insert and mbox-style messages

2014-11-22 Thread Edward Betts
My mail arrives on a Debian machine running exim. It was being filtered by procmail then piped into 'notmuch insert'. This was generating the single-message mbox warning: > Warning: ... is an mbox containing a single message, > likely caused by misconfigured mail delivery. Support for

exim pipe transport, notmuch insert and mbox-style messages

2014-11-29 Thread Edward Betts
David Bremner wrote: > Edward Betts writes: > > I wonder if 'notmuch insert' could be modified to detect and drop the From_ > > line before writing the message to disk and index it. It could do that > > silently or with a warning. > > I don't know about the larger q

exim config for 'notmuch insert' retry

2014-12-16 Thread Edward Betts
Short version: exim has an option to retry delivery when notmuch insert fails Long version: I'm using maildrop and 'notmuch insert' to sort and tag my incoming mail. Sometimes 'notmuch insert' isn't able to write to the notmuch index because another process is holding the notmuch write lock. At