this post was submitted on 20 Aug 2023
64 points (95.7% liked)
Technology
59682 readers
2939 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How hard is it to host your own mail server? From what I can see it look pretty much top tier
If you want to make sure people get your emails, and you don't want to deal with constant spam issues yourself, I'd recommend not running your own.
You apparently easily get your emails stuck in spam filters if you self-host. Also, you'd need to have 100% uptime for this to work as intended, not particularly easy in my situation.
While technically that is true, if you have any other users they will be annoyed. And anyone running iOS will almost immediately get regular popups about the mail server being down (because iOS checks for new mail frequently - and yes I know this can be adjusted) and so they will be telling you straight away.
Also - I’m not convinced that all email servers obey the SMTP standard.
I've done it, and I do not recommend it if you actually plan for people to receive your emails.
I managed to adapt for about 95% of mail servers to accept my mails, but it was a lot of work. I'm pretty sure some of those measurements are intended to discourage people from self hosting.
It took me around 4 hours to get to that point, and sometimes my mail would still go into junk, especially on gmail inboxes.
You were way faster than me 😂
Gmail worked for me, but some bigger German providers just refused to accept my mail. I used a website that tested the server config and gave hints how to proceed. That was incredible helpful.
I’ve been running my own mail server for about 15 years now… Let me offer some insights.
I started using native Linux mailboxes, later added roundcube (web UI), investigated Mailinabox, but now use zimbra. That gives me calendar/contact sharing, email/calendar/contacts to iOS devices (which is the main way my family get email), and lots more. Moving data from one to the other took a couple of days of effort. (Yeah… I know its supposed to be trivial, but its not when you include tool research, testing, execution one at a time etc).
Bottom line - you will learn lots, you will lose many weekends and sometimes a weekday here or there as you try to handle emergencies, it will never be set-and-forget.
My original rational was learning, privacy and my own domain and nicer looking email addresses than john1234@gmail.com. I’m looking for an online alternative as its time to lighten the load, but I have a lot of services that we use in Zimbra.
Good luck with it!
I forgot to mention - spam isn’t too bad with a well trained SpamAssassin.
Plus you will need to learn your virtualisation tool really well because of all the networking routes required and operating it on the command line. VBoxManage is your friend, but its just not friendly.
From a security perspective - I did everything in Linux, and only opened the required ports (plus ssh, which I moved to a random high port number). I have auto-update on for security patches, but NOT for regular patches (because Zimbra tends break things, so you need to snapshot first).
The hard part is getting a a host that allows the ports, a “clean / private” static public IP and a matching reverse lookup record for it.
Email servers and spf / dmarc / dkim are not that hard to setup. There is still going to be a “trust” period for some spam filters but if you did everything else right it isn’t too hard other than in bound spam filtering.