Re: Moving notmucch between machines

2019-08-13 Thread David Bremner
Dan Čermák  writes:

> Hi Bart,
>
> Bart Bunting  writes:
>
>> I am migrating from OSX to Linux and want to move my mail over.
>>
>> I am unsure of the best way to approach the problem.
>>
>> Is it possible to somehow export and re import tags or can I simply move the
>> maildir and notmuch indexes over and expect things to work?
>

notmuch dump and restore are intended for jobs like this (as well as for
backing up the database in a relatively compact form).

> You can "abuse" the nmbug script for that: it saves all your tags into a
> git repository and allows you to later apply all the tags onto another
> notmuch database.

FWIW, nmbug is just a wrapper around notmuch dump and restore.
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Bug#934082: elpa-notmuch: Shows remote images even when requested not to

2019-08-13 Thread Andreas Kloeckner
Hi David,

David Bremner  writes:
> Your interpretation of that variable sounds about right (fwiw, '.'
> should work as well as '.*'). On the other hand when I view that message
> with the default settings I don't see any images. You can duplicate my
> experiment with
>
> 1) emacs -q
> 2) M-x package-initialize
> 3) M-x notmuch
>
> s subject:galerkin
>
> I suspect the outcome depends on the setting of html viewer, but please
> let us know what you discover.

Thanks for getting back to me! It turns out that your idea with the HTML
viewer (`mm-text-html-renderer`) was spot-on. I had that set to 'w3m',
and reverting it to the default (`shr`) not only renders faster and more
nicely, it also removes the undesired privacy problem of fetching remote
images.

When the image loading happened, I had w3m 0.5.3-37 and w3m-el-snapshot
1.4.632+0.20190731-1 (both via Debian packages) installed.

Thank you for your help!
Andreas


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Bug#934082: elpa-notmuch: Shows remote images even when requested not to

2019-08-13 Thread Andreas Kloeckner
David Bremner  writes:

> Andreas Kloeckner  writes:
>
>> Thanks for getting back to me! It turns out that your idea with the HTML
>> viewer (`mm-text-html-renderer`) was spot-on. I had that set to 'w3m',
>> and reverting it to the default (`shr`) not only renders faster and more
>> nicely, it also removes the undesired privacy problem of fetching remote
>> images.
>>
>
> Great.
>
> Dear Notmuch people, should we document this issue somehow? Maybe even
> try to detect it with customize?

One thing I wanted to emphasize is that this issue, as far as I can
tell, is a regression. I don't quite know what versions, but I do know
that previously remote content was not fetched when viewing a message.

Once again thanks for your help,
Andreas


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: Moving notmucch between machines

2019-08-13 Thread Dan Čermák
Hi Bart,

Bart Bunting  writes:

> Hi everyone,
>
> Sorry if this question has an obvious answer but I couldn't find it.
>
> I am migrating from OSX to Linux and want to move my mail over.
>
> I am unsure of the best way to approach the problem.
>
> Is it possible to somehow export and re import tags or can I simply move the
> maildir and notmuch indexes over and expect things to work?

You can "abuse" the nmbug script for that: it saves all your tags into a
git repository and allows you to later apply all the tags onto another
notmuch database. However, it requires a little bit of fiddling (as it
is actually intended as a bugtracker: https://notmuchmail.org/nmbug/) to
set up, as it expects the tags to exist in a certain branch.

I'd advise you to make a backup first and make a dry run before nuking
your old system.

>
> I have previously tried and some how offlineimap got itself in a tangle
> and redownloaded all messages.  This is nontrivial as I have about 50g
> of mail and indexes.

You can rsync all your maildirs, but without the ~/.offlineimap folder
it will lack the UUIDs of all your messages and will have to redownload
them. If you copy the ~/.offlineimap folder over too, then it should
work (fingers crossed).


Hope this helps,

Dan


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Moving notmucch between machines

2019-08-13 Thread Bart Bunting
Hi everyone,

Sorry if this question has an obvious answer but I couldn't find it.

I am migrating from OSX to Linux and want to move my mail over.

I am unsure of the best way to approach the problem.

Is it possible to somehow export and re import tags or can I simply move the
maildir and notmuch indexes over and expect things to work?

I have previously tried and some how offlineimap got itself in a tangle
and redownloaded all messages.  This is nontrivial as I have about 50g
of mail and indexes.

Any suggestions would be appreciated.


Kind regards
Bart
-- 

Bart Bunting - URSYS
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch