Moving mail store

David Bremner david at
Tue Mar 21 10:59:03 PDT 2017

Matthew Lear <matt at> writes:

> Hi all. I plan to migrate my offlineimap mail store and notmuch database to
> a new machine in the next week or so. I wanted to check for any potential
> gotchas before I did this. I don't plan on keeping the same absolute paths
> to the maildir files on the new machine because the new top level mailstore
> location will be different. Will notmuch care about this change if I use
> the exported database (obtained from the old machine) on the new machine? I
> expect notmuch to only care about the message IDs themselves and update its
> database on the new machine when notmuch new is run. Is that correct?


> Is there a recommended way to move mailstore in such a way that all tags
> are preserved even though the paths to the top level location of the
> mailstore is different?

tags are not connected with paths, only with message-ids.

More information about the notmuch mailing list