this post was submitted on 12 Jun 2023
113 points (99.1% liked)

Selfhosted

40220 readers
1428 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
 

All this new excitement with Lemmy and federation has got me thinking that maybe I should learn to run my own instance. What always comes up though is how email is the orginal federated technology.

I am looking at proxmox and see that is has a built in email server, so now I am wondering if it is time to role my own.

I stopped using gmail a long time ago, and right now I use ProtonMail, but I am super frustrated with the dumb limitation of only having a single account for the app. I get why they do it, and I am willing to pay, but it is pricey and I don't know if that is my best option. I guess it is worth it since ProtonVPN is included. It looks like they are expanding their suite.

Is it worth it? Can I make it secure? Is it stupid to run it off a local computer on my home network?

(page 3) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (1 children)

I'm using openbsd with dovcot, opensmtpd on a pi. I used mailhardener to get it scoring well. I've had no issues with it getting flagged.

[–] [email protected] 1 points 1 year ago (2 children)

That is cool. This is the solution I was hoping existed, but someone brought to my attention the need for 100% uptime, an by inference the lack of redundancy on a home solution, so I need to reconsider what I am will to do.

load more comments (2 replies)
[–] [email protected] 2 points 1 year ago (1 children)

I do. Run about a half dozen email servers for various organizations. Been doing it for almost a decade for some. Other than initial setup pain, I've had zero problems others describe. I have used (and still run) docker-mailserver, mailcow, mail-in-a-box and mailu. All are lovely in their own way and fit various use cases better than others.

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago (1 children)

I feel like I'll eventually have to... mailbox.org upped their prices from 1 EUR/mo to... whatever they are right now, and on top of that I'll still need a VPN to access heinous sites such as pastebin (welcome to Turkey), which is another 5 EUR/mo.

For that money I could get an alright enough VPS from Hetzner and spend some time getting everything configured properly, and have bonus flexibility in terms of hosting anything else I might want to host.

The problem with this ofc is that no "turnkey" mail bundle seems to give a shit about resource usage as far as I'm aware, and I'm worried they'll end up hogging all the server resources for themselves.

load more comments (1 replies)
[–] [email protected] 2 points 1 year ago (1 children)

I run a complete ISP style setup with multiple domains. I run it from a rented server at Hetzner, so i don't have problems with being black listed for sending from a consumer IP.

[–] [email protected] 2 points 1 year ago

Nice! I appreciate the guide! Even if I end up using a premade solution, knowing how everything works will help me be smarter about the choices I make.

Thank you.

[–] [email protected] 2 points 1 year ago (1 children)

I don't. But I do have my domain and use a hosted solution, so I'm kind of independent and own my data.

[–] [email protected] 2 points 1 year ago

That sounds like the right middle ground for me. I know for sure my home network is not as secure as it could be, especially since I live with people who need everything online to work without obstacles. I can't even install PiHole.

But, hosting is probably more affordable in a year than the amount I might spend on coffee in a week. And I typically make my own coffee.

[–] [email protected] 1 points 1 year ago (1 children)

I run my own Mailserver on a vps with mailcow dockerized. Was a real pain to set up, even through it mostly works right now.

DNS stuff isn't just some A or AAAA records, also txt stuff reverse DNS and much more. As the others said, that's completely impossible with a regular ISP.

I'm on some dumb blacklist because my IP is obviously in the IP range of my hosting provider, and some lists generally block all vps ranges.

Now imagine the following: your bank wants to contact you and your primary mail is selfhosted, for some reason they block your IP (yes outgoing blocks, those idiots) and you don't get some real important mail. Or your server is down for maintenance, certificate issues, so on.

The best solution is most probably letting a professional email holster take care of your domain, for email at least. Protonmail offers that but the problem I have with them is that they don't allow a regular login through thunderbird, restricted to their own software.

[–] [email protected] 1 points 1 year ago

Yeah, ProtonMail does that so it can force them to pay to be logged in to multiple accounts at once, which is really frustrating. I mean, the business model makes sense, but damn, I only got 2 email addresses, I don't know what I would do with 10.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I setup my own instance and went with the free mail tier on brevo.com. They allow 300 relays per 24 hour period on the free tier. Their email stats and tracking looks decent too.

Prior to that I had setup my own postfix server, and while it worked fine, emails to gmail accounts were not getting through.

[–] [email protected] 1 points 1 year ago (2 children)

I want to do a setup where i use mailcow at home for receiving emails but Amazon ses SMTP for sending, it's possible? Looks like it is, but i didn't investigate it

[–] [email protected] 1 points 1 year ago

I am not keen on using any Amazon services. Working at a warehouse near the holidays, on top of all the evidence of awful labor conditions, makes me never want to give them my money ever again.

load more comments (1 replies)
load more comments
view more: ‹ prev next ›