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

Selfhosted

40220 readers
1395 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 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (5 children)

E-mail was the first "thing" that got me off of Google (to Proton & then currently Tutanota) but is really the last remaining service I not have self hosted.

I have always read about how difficult and time consuimg it was to run your own mail server, but I felt like I needed to experience it myself. So I purchased another domain and followed the instructions on https://mailinabox.email/.

I am using a small VPS on Hetzner and I have to say the experience has been almost flawless so far. I did need to have my new domain taken off the Domain Block List, but Hetzner gave me a clean IP and defaults to blocking port 25 outbound to prevent spam (simple ticket to open, once account is 30 days old and paid).

I know I'm still early into this journey so far, but it has been really simple and I plan to test this secondary domain for a few months before moving onto it full time.

As an avid self hosted of literally everything else, I can say it has been a lot of fun learning so far!

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

Just take a look at https://docs.mailcow.email/

This runs from a small box with everything included. It gives you all the tools and config needed for running a secure and feature rich email service. Webmail, some sort of exchange emulation, webcalender on top of a solid postfix/dovecot install with rspamd as spam filter. Everything is configurable via a nice web UI.

After 15y running my own mail service and editing a lot of config files, I use this piece of free and open software and find it very good. All you need is a box somewhere in the internet. Running from a homelab will instantly fail, expect you have a static ip.

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

I run my own email server using Mailcow. It works well.

However, I do not even attempt to directly send outbound email. It's very difficult to get your server trusted by the major providers, especially Microsoft (who are very picky about email servers). I have an account with MXRoute (which is an email provider) but only use it for outbound relaying. Inbound emails go directly to my server.

For what it's worth, MXRoute is a great provider to consider if you want to move away from the large ones (Google, Microsoft, etc) but don't want to self-host.

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

I used to. I had a docker-mailserver. It was good. But I moved house and changed ISP. I couldn't set up the reverse DNS on my address, and Gmail was blocking me, so I had to switch to a hosted mail server (namecheap private email).

It's a shame, syncing is noticably slower, and I only get one mailbox, but oh well. Just keep on using GPG.

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

there are many replies saying similar things, but don't be discouraged from try it out. i host my own with mailinabox on a vm from a cloud provider. no spam issues. the only wildcard was spending a few months getting my ip address off google's spam filters. it is so worth it, i own my own email/calendar/contacts/notes/todo list/ AND website solution. all with mailinabox. completely disconnected from google etc.

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

Did you ever manage to get off hotmail/outlook spam filters? I ran my own server for years and had no issues with gmail, but was never able to reliably send to hotmail. That was the nail in the coffin in the end as so many businesses I communicate with were on outlook and my mail would always goto spam causing endless issues.

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

yes i did. through mxtoolbox(iirc) i learned what blacklists my ip was on. and it wasnt my IP, but my ip block. it was just a matter of filing online requests to have my Ip removed from these lists. With google, i had to have a google account and login and pinky-swear that i would not send spam, and it got me off that list. google was really the most difficult to find info for. beware though, there are some places that say if you pay them, they will get you off the list. don't believe it. it is free or its a scam

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 2 points 1 year ago (3 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.

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

Very interesting. Thanks for the follow up.

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

I did but I stopped. My server had everything set up (DKIM, DMARC, SPF, Spam filtering) but I gave up after some providers wanted me to jump through hoops to get my mail delivered. Also I never had enough outgoing mail to build some reputation.

load more comments (3 replies)
[–] [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.

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