On Wednesday Oct 22 2025, Daniel Goldin wrote:
> I'm a non-programmer who uses emacs for academic papers via org-roam,
> and for email via mu4e. I have been trying the new version of mu 1.12.13
> but have not succeeded in importing labels from one machine to another.
> After running mbsync -a and indexing on the second machine, I then
> attempt to import labels exported from the other machine (mu import
> labels exported-file), I get this error:
>
> failed to find by path: no matching messages for path:/home/my-name/Maildir/archive/cur/
1760985676.4031494bb7cf783f15.fedora-3.attlocal.net,U=16724:2,RS; try with message-id
>
> Any help gratefully appreciated.
Thanks for trying it out!
Trying to restore on a *different* machine is not a use-case I've ever
tested or even considered. It could still work a bit.
So after re-indexing on machine B you get such an error for each
message? Or for some?
The "normal path" of the import/export mechanism depends on the file
system path of the message files. Are those identical between those
machines? I suspect mbsync will give you _different_ names. So that
explains the warning you see.
But, there's still the "fallback path", which tries to use the
message-id. So that might still work; did you get any other errors? You
can also try with --verbose and see if tells you more.
Kind regards,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
gpg: 6987 9CED 1745 9375 0F14 DA98 11DD FEA9 DCC4 A036