Re: github mirror

Subject: Re: github mirror

Date: Sun, 27 Apr 2014 12:45:23 -0700

To: Sam Halliday, notmuch@notmuchmail.org

Cc:

From: David Mazieres expires 2014-07-26 PDT


Sam Halliday <sam.halliday@gmail.com> writes:

> David Mazieres <dm-list-email-notmuch@scs.stanford.edu> writes:
>> The problem is that different imap servers store tags in different
>> ways.  Since notmuch does not use imap, it would be hard for notmuch to
>> synchronize the tags, other than the standard ones (for which notmuch
>> already has support).
>>
>> One thing you could do is build an external tool that synchronizes
>> notmuch tags and spawns an imap server in preauth mode to sync the tags.
>> (That would be yet another use for the ctime values we have discussed on
>> this list.)
>
> The improvements to offlineimap to use the mail header hack might work
> well for both of us. Currently the only way to add/remove "labels" (a
> gmail concept) is to copy/move mail between folders. And this is how
> notmuch "tags" are synced. But with outstanding pull request, this can
> all be managed via email headers and that means you *only* need to
> synchronise your "All Mail" folder.
>
> So, I'd be interested to see what your code could do in that world :-)

My code assumes shell access to your mail server, so it doesn't do squat
in the gmail world.  I suppose you could use gmail just as your SMTP
server, then download everything to your own server with offlineimap and
manage it with notmuch there, in which case my code gives you the
notmuch experience on all your devices.  However, there's a much better
SMTP server out than what google is running (www.mailavenger.org), so
such a setups is backwards... The right thing to do is to receive
everything on a mail server that you control, then push to gmail only
what you want to read on your phone and/or disclose to the NSA (which in
my case is only a tiny fraction of my email).

David

Thread: