dodo icon indicating copy to clipboard operation
dodo copied to clipboard

[feature request] dodo over ssh

Open oschwand opened this issue 3 years ago • 0 comments

Hello,

I am used to the following notmuch setup: all my emails are stored on a remote server and I use neomutt to access it throught ssh. I have also a local notmuch wrapper script to allow for some local operations (as described somewhere on the notmuch pages).

As far I see, this setup is mostly transparent for dodo since it seems to simply use whatever notmuch executable which is found in the PATH. However, this obviously does not work for attachments and for any operation needing to access the raw file. Can I do something in my config.py in the current state of dodo ? And if not, what would be the best way to deal with it ?

I imagine two different paths:

  • mount the remote maildir hierarchy over sshfs (but it needs to deal with the absolute path used in the xapian index)
  • retrieve each indivudal file when needed with scp

In both cases, we need some possibility to overload the Python code used to open files and I do not seen an obvious way to do that cleanly.

What do you think ?

oschwand avatar Oct 10 '22 13:10 oschwand