24
submitted 2 years ago* (last edited 2 years ago) by lemmyvore@feddit.nl to c/selfhosted@lemmy.world

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 new old
[-] Dehydrated@lemmy.world 10 points 2 years ago

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

[-] Cyber@feddit.uk 4 points 2 years ago

+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 2 years 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 2 years ago* (last edited 2 years 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 2 years ago

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 2 years ago

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 2 years ago
[-] wreckedcarzz@lemmy.world 2 points 2 years 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 2 years ago* (last edited 2 years ago)

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 2 years 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.

[-] conrad82@lemmy.world 3 points 2 years 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

[-] mbirth@lemmy.mbirth.uk 2 points 2 years 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/

[-] knobbysideup@sh.itjust.works 1 points 2 years ago
[-] leanleft@lemmy.ml 0 points 2 years ago

can u export the mail to file(s) ?

[-] lemmyvore@feddit.nl 2 points 2 years ago

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.

[-] SkyeHarith@lemmy.world 1 points 2 years ago

Do you mean like neomutt, mu4e etc kinds?

[-] leanleft@lemmy.ml 1 points 2 years ago* (last edited 2 years 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.

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

Selfhosted

63291 readers
505 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS