github mirror

David Mazieres expires 2014-07-26 PDT mazieres-v75qnf7m8mq7fz7juwq3jcuarw at temporary-address.scs.stanford.edu
Sun Apr 27 12:45:23 PDT 2014


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

> David Mazieres <dm-list-email-notmuch at 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


More information about the notmuch mailing list