this post was submitted on 08 Feb 2024
24 points (92.9% liked)

Selfhosted

40329 readers
421 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm thinking of putting all my email archive (55k messages, about 6 GB) on a private IMAP server but I'm wondering how to access it remotely when needed.

Obviously I'd need a webmail client but is there any that can deal with that amount of data and also be able to search through To, From, Subject and body efficiently?

I can also set up a standalone search engine of some sort (the messages are stored one per file in regular folders) but then how do I view the message once I locate it?

I can also expose the IMAP server itself and see if I can find a mobile app that fits the bill but I'd rather not do that. A webmail client would be much easier to reverse proxy and protect.

top 17 comments
sorted by: hot top controversial new old
[–] Dehydrated@lemmy.world 10 points 9 months ago (1 children)

Roundcube should work pretty well for you: https://roundcube.net/

[–] Cyber@feddit.uk 4 points 9 months ago (1 children)

+1 An old ISP of mine still uses RoundCube for their webmail, so if it's good enough for them, it's good enough for self hosters.

[–] Dehydrated@lemmy.world 4 points 9 months ago

My company uses Roundcube for Webmail and offers Thunderbird as a native client. It's always great to see free software in a corporate environment.

[–] ptz@dubvee.org 7 points 9 months ago* (last edited 9 months ago)

I use SnappyMail (a fork of Rainloop) for my IMAP webmail client.

With IMAP, everything stays on the server, so the client doesn't have to worry about the inbox size. Searching is also done server-side, so the client just needs to send a query.

The performance will ultimately come down to the performance of your IMAP server.

[–] rglullis@communick.news 7 points 9 months ago (2 children)

Obviously I'd need a webmail client

Why "obviously"? Plenty of open source, high quality email clients for desktop and mobile, and I can not think of any scenario nowadays where you'd be willing to access your email from an untrusted device anyway.

[–] density@kbin.social 3 points 9 months ago (1 children)

for myself I find the existing android clients far from adequate. if you have filters, folders, identities etc it is a fuck tonne of set up. last time i tried i just gave up.

[–] Cyber@feddit.uk 2 points 9 months ago (1 children)
[–] wreckedcarzz@lemmy.world 2 points 9 months ago

+1, I fucking love FE. It's the standard for a quality client on mobile. I prefer it to thunderbird on desktop.

[–] MangoPenguin@lemmy.blahaj.zone 2 points 9 months ago* (last edited 9 months ago) (1 children)

The biggest problem is you have to set up every device independently with accounts, senders, signatures, and have one device online all the time to apply rules. It's a lot of work to keep 3 mail clients all set up the same. Especially when clients all have their own bugs (ie; thunderbird has a CalDAV bug that makes it forget your password).

We need essentially self hosted gmail, where you have a web client for PC use and an app for mobile, mail is processed server-side, and settings are all automatically the same across clients.

Do you have a client you like for desktop? Thunderbird is not great, it's slow and buggy.

[–] rglullis@communick.news 2 points 9 months ago

Thunderbird is good enough for me I guess. I don't think it is slow, it handles my multiple accounts just fine. I don't have an overly complex email tbh, so my biggest requirements are only (a) how fast can I archive things (b) how easy it is to find things by searching. I also used evolution for a while, but thought it was doing more than I needed so I never cared about digging in deeper.

[–] mbirth@lemmy.mbirth.uk 4 points 9 months ago

I've setup Dovecot and Solr in Docker containers for the IMAP end. Solr provides a fulltext search for Dovecot. I've also configured a virtual "All Mail" folder that shows all the messages on the server - to help with clients that don't support search in all folders.

As webmail client, I'm using SnappyMail and let it search the "All Mail" folder.

See also: https://blog.cloudron.io/email-search-in-mail-clients/

[–] conrad82@lemmy.world 3 points 9 months ago

I installed k-9 mail / Thunderbird on my android phone and set it to sync all emails, so I have local copy on my phone

[–] knobbysideup@sh.itjust.works 1 points 9 months ago
[–] leanleft@lemmy.ml 0 points 9 months ago (1 children)

can u export the mail to file(s) ?

[–] lemmyvore@feddit.nl 2 points 9 months ago (2 children)

It's already in files. I'm looking for something that will let me search and view the files remotely. Something better than logging in with ssh and grepping and looking at the raw mails. Which is still useful in a pinch but gets tedious when you need to read an attachment, or when the message was HTML.

[–] leanleft@lemmy.ml 1 points 9 months ago* (last edited 9 months ago)

sry. didnt read carefully.

nnn (tui file manager) would be an interesting solution. i know its not really perfect but you can interactively select and view files.

[–] SkyeHarith@lemmy.world 1 points 9 months ago

Do you mean like neomutt, mu4e etc kinds?