zzzzzz

joined 1 year ago
[–] zzzzzz@lemmy.ml 3 points 11 months ago (1 children)

How well do they self-clean? How often do you need to clean it manually?

[–] zzzzzz@lemmy.ml 2 points 11 months ago

Same. It has really helped my neck, too. I used to need to prop myself up on a pillow so that my arms wouldn't fall asleep. Now, it's no problem.

[–] zzzzzz@lemmy.ml 4 points 11 months ago

This is pretty compelling. I vote "solved".

[–] zzzzzz@lemmy.ml 14 points 11 months ago

Well, if they hadn't posted here, I, for one, would never have become aware of the issue, and I'm glad I have!

[–] zzzzzz@lemmy.ml 10 points 11 months ago (6 children)

... So... Is it true or not?!

[–] zzzzzz@lemmy.ml 1 points 11 months ago

Well, I've solved it! I now have a web interface (accessible via VPN, although, in principle, I could expose it to the internet) that allows fast, full-text search of all my old emails. Here is the recipe:

  1. Maildir: I converted all my mbox files to maildir using this python script: https://superuser.com/questions/1169371/how-to-convert-mbox-mail-files-as-found-in-thunderbird-dir-to-maildir#1343019
  2. Installed notmuch via my distro's repository and set it up (notmuch setup & notmuch new). This creates a new folder in your maildir directory containing full-text search info.
  3. Installed netviel via python3 -m pip install netviel and then ran it via python3 -m netviel

That's it! This let's you search locally. I actually did a few more steps because I wanted to containerize this thing so I could run it on my NAS. I'd be happy to go into detail about that too, if you're interested. One hiccup was that, for some reason, netviel binds to 127.0.0.1 instead of 0.0.0.0, and there is no way to change that without compiling the project yourself. But, I found a workaround for my Docker container where you can use socat bound to 0.0.0.0 to redirect requests to netviel, so that requests from other computers appear local to netviel.

Anyway, that makes it all sound more complicated than it is. I am super-pleased to have solved this problem at last!

[–] zzzzzz@lemmy.ml 1 points 11 months ago (1 children)

I got his meaning. Isn't that the purpose of language, in the end?

[–] zzzzzz@lemmy.ml 1 points 11 months ago

Thanks for this! I'm going to try to get this set up. It sounds perfect.

[–] zzzzzz@lemmy.ml 1 points 11 months ago* (last edited 11 months ago) (2 children)

Yes, I'm coming to similar conclusions myself. To be fair, encryption is a configurable option with Mailpiler. But, yes, it is all digested and stored in a mysql database, which is definitely more opaque than plaintext in the filesystem. I might try the mutt + notmuch solution described by @marty_relaxes@discuss.technics.de below. Sounds like it might be a challenge to set up but would work great forever after. I'll need to figure out how to convert my mbox files to maildir, but Google suggests there are tools for that. Good luck to you, let us know what you ultimately figure out! I've been working on this off-and-on for a few months now without figuring our a good solution!

Edit: I guess, if you want fast full-text search, a database will have to enter the equation somewhere, though.

[–] zzzzzz@lemmy.ml 1 points 11 months ago (4 children)

Alas, no! Things seemed to be going well: I got >90k messages imported from my Google Takeout mbox file before the import was interrupted (not mailpiler's fault). At this point, I logged into the "auditor" account and was able to see my emails and search them. But, then I resumed the import. By the end of today, the import was finished (~150k messages total). When I logged in with the auditor account, I got some error "No search results" and nothing I could do about it. This is actually what happened last time I tried mailpiler, too, now that I recall. All seemed fine, but, it seems, the database got corrupted or something along the way... So, now it's useless. I might try it one more time over the next few days. I'll keep y'all posted.

[–] zzzzzz@lemmy.ml 2 points 11 months ago (2 children)

Does mutt have search capabilities? Is it optimized such that it would be effective with large mailboxes? Thanks!

[–] zzzzzz@lemmy.ml 2 points 11 months ago (7 children)

I am currently working on this. Finally got the Docker working and am importing my 15GB mbox as we speak! I'll post back here about how it works out.

view more: next ›