Settings

Theme

Maildir-utils: index, search and manage Maildir mailboxes

djcbsoftware.nl

65 points by zanchey 2 years ago · 7 comments

Reader

goku12 2 years ago

Mu stores its metadata in the maildir. The index is there just for speed and can be regenerated from the maildir. Meanwhile notmuch - a similar tool - has support for message tagging. I wish at least one of them supported both features.

sausagefeet 2 years ago

I use this as my daily driving for email and find it works great. I like that I can still use other apps to look at mail (my phone) and mu works still.

safety1st 2 years ago

As someone who's very un-savvy when it comes to managing email servers and mailboxes: what is the unixy solution for moving a mailbox from one IMAP server to another? Ideally is there such a solution that doesn't require me to have ssh access to both of the servers?

Like - can I download and back up an entire mailbox with mu? And restore it to a different server? Or can I do that with some other tool? If I had ssh access to both servers, and they both used Maildir. could I do it with mu?

I know what Maildir is but I don't know how to determine if my IMAP server is using it, or something that looks like Maildir but isn't. My mail server runs dovecot and I'm pretty sure stores mail as Maildir, it looks like Maildir in the file system, but I wouldn't know how to positively verify that.

I know these are very random questions, just trying to figure out how to have more control of my mail...!

  • kej 2 years ago

    Depending on your specific needs, you probably want one of imapsync, isync/mbsync, or OfflineIMAP. You could also use mutt or Thunderbird or the client of your choice to connect to both servers and move items through the UI.

    • safety1st 2 years ago

      Thanks for this. I am loosely familiar with mbsync and OfflineIMAP, used to use OfflineIMAP with mutt but it had a lot of bugs and crashed often.

      In this article https://anarc.at/blog/2021-11-21-mbsync-vs-offlineimap/ the author observes missing emails with both of them.

      And I thought neither tool supported upload, am I mistaken?

      Is simply using rsync to transfer the mail folders from one Maildir-based email server to another a viable approach?

      • kej 2 years ago

        If you have file-level access to the mail servers, any kind of file transfer of the maildirs should work. But from your description I'd encourage you to spend some time looking at imapsync, I think it's the closest fit to what you're wanting to do.

tmtvl 2 years ago

Good old mu, I use a combination of isync, mu, and mu4e for downloading, indexing, and reading/wrangling my mail. It works like a charm, though I did have to set mu4e-change-filenames-when-moving to avoid isync getting hung up on duplicate mail IDs.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection