this post was submitted on 25 Nov 2023
2 points (100.0% liked)

Homelab

22 readers
1 users here now

Rules

founded 1 year ago
MODERATORS
 

Is it useful to have your own mail server as a non-business? Just a private person. Configure SMTP and IMAP for it, sync with outlook I think.

Yay or nay, waste of time? What are your thoughts?

(page 2) 34 comments
sorted by: hot top controversial new old
[–] phoenixlives65@alien.top 1 points 1 year ago

Unless there's a strong academic reason, it's probably more work than it's worth for the average person. It becomes a vector for attack, and there's external infrastructure that has to be maintained as well (DNS, SPF, DKIM, etc)

[–] juwisan@alien.top 1 points 1 year ago

It’s an interesting exercise to learn about how everything interacts and works. Beyond that I would absolutely not bother. It’s high effort, it’s shit to maintain and secure. It’s shit to debug when mails don’t arrive.

Worst idea ever. Just pay somebody $10 a month to host your domain and let them suffer lmao

[–] canadian_sysadmin@alien.top 1 points 1 year ago (1 children)

If you want to do it for fun and learning, ok I guess.

But nobody really does it anymore.

For actual mail that I would use, just go with a mainstream provider.

If you want to actually learn real-world skills, get yourself your own 365 tenant with a single license. Well worth the spend (or free if you can get a partner license).

[–] BlkCrowe@alien.top 1 points 1 year ago

Don’t mean to be dense, but how does one do this? I tried googling this, but kept getting hits on single versus multi-tenant licensing.

[–] ForeverYonge@alien.top 1 points 1 year ago

Setting it up is easy. Getting the major providers like gmail to not flag your stuff as spam, that’s the real challenge

[–] Server22@alien.top 1 points 1 year ago

Use AWS SES.

[–] ccbadd@alien.top 1 points 1 year ago

I set one up for a while and it was a royal PITA! I have since switched to a managed email account using my own domain. So much less trouble. It's just not worth it in my opinion.

[–] kodbuse@alien.top 1 points 1 year ago

I've run my own mail server for over 15 years. If you're going to do it, put it on a VM at a reliable cloud provider, such as AWS. You wouldn't want your email to go down while you're on vacation for a week with no way of fixing it. You need to make sure you use a static IP that you keep forever, because your mail server builds reputation and the IP must not have any reputation of spam that has landed it on block lists.

It's not difficult if you let reuse someone else's hard work to make it secure and keep it updated. This project is fantastic: https://mailinabox.email/

Would I recommend it? It's more rational to bring your own domain to have it hosted by Microsoft or Google, but doing it yourself is more fun and flexible, and possibly cheaper depending on how many users and domains you will be hosting.

[–] Unfair-Plastic-4290@alien.top 1 points 1 year ago

How many of you all here, using a hosted solution remembered to setup DKIM on their custom domain? hostname alignment can aid in email deliverability, i believe.

For reference, if you were using office365 you would take the steps outlined here: https://learn.microsoft.com/en-us/microsoft-365/security/office-365-security/email-authentication-dkim-configure?view=o365-worldwide

Lastly... if you don't bother, any good reason to skip the domain alignment step?

[–] liverwurst_man@alien.top 1 points 1 year ago

If you work in IT or similar these concepts may become important, and that makes the effort worth it to me. Otherwise, I agree with the other commenters.

Here's an entertaining lecture that summarizes how terrible modern email is.

[–] Stooovie@alien.top 1 points 1 year ago

Absolutely not. It's notoriously hard.

[–] whispershadowmount@alien.top 1 points 1 year ago

It’s fun to setup for learning and then to throw away. Don’t do it for day to day use because:

  1. It’s an absolute PITA to keep healthy, and;
  2. You gonna get hacked
[–] flummox1234@alien.top 1 points 1 year ago

waste of time IMO. Most messages will not make it through spam filters because of a bunch of reasons. Just writing your friends would be pointless.

[–] daninet@alien.top 1 points 1 year ago

I'm using gmail with my own domain and I still get my email filtered out. You would need to warm your IP address for years to not get into spam folders in most places. Not to mention the uptime issue. I would not recommend. You may try fastmail or some similar service instead.

[–] johnklos@alien.top 1 points 1 year ago

Ask that question about anything, and ask these same questions about the same:

Do you want to learn? Do you have a reason to want to have understanding and control over it? Do you have the time, resources, energy and aptitude?

You've just answered your own question :)

Some people have a deep distain for the idea of self-hosted email, but there's literally no good technical reason you can't do it yourself. I think people react so strongly and insist it shouldn't be self-hosted because they couldn't hack it ;)

(yes, I'm poking them for fun)

Seriously, the only compelling reason they mention isn't compelling: if you're worried about deliverability, pay a reputable service for smarthosting through them. Problem solved, and you still get to 100% control your own filtering, logging, storage and access.

[–] killroy1971@alien.top 1 points 1 year ago

There was an XKCD about this years ago. Basically, the answer was 'no.'

[–] PricklyMuffin92@alien.top 1 points 1 year ago
[–] 1aranzant@alien.top 1 points 1 year ago

lol everything we do on this sub is mostly a waste of time...

[–] BlackReddition@alien.top 1 points 1 year ago

Outlook.com gets all the features of 365 for free.

Nah, I can't think of hardly any reasons why I'd want to, so many things to consider. Just not worth my time

[–] 100GbE@alien.top 1 points 1 year ago

Cool to know you can do it, not cool to maintain one all the time.

Even I've moved mail to the cloud these days.

[–] h311m4n000@alien.top 1 points 1 year ago

I've hosted my own email for 2 years now. Using proxmox mail gateway on a 5€ hetzner VPS. it relays mail to my mail server which I host at home. I've dealt with my home public IP changing every now and then with 2 simple scripts. SPF, DKIM, DMARC is all set up.

All in all, it's relatively low maintenance. PMG makes a good job filtering all the crap and I have yet to receive and actual spam in my inbox (I only had a couple false positives).

I documented the whole setup, can share if you want.

load more comments
view more: ‹ prev next ›