this post was submitted on 30 Oct 2024
41 points (93.6% liked)

Selfhosted

40296 readers
251 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
 

Hi. Some friends of mine are starting a business and they want to setup a server to host a simple "contact" website, run an e-mail service (about 10 accounts for now but with possibilities of expanding it to support more) and to store and remote access documents.

Im a computer savvy person so they asked me for help, but dont know much about self-hosting so I come here asking you:

What kind of hardware do they need and would be best? What OS and other software is required and recomended?
How to set it up/configure it? Im partial to foss but if there are good propietary options they are acceptable too. And last: What do we have to watch out for or avoid.

Also, space is a bit of an issue, I was thinking they could use something small like an intel nuc but Im worried that hardware would be underpowered for their needs.

I have been googling for stuff myself but I get overwhelmed by the ammount of information and some contradicting opinions so I appreciate your recomendations and guidance. Im not asking you to give me a full tutorial, although I would appreciate it too, but just to be pointed in the right direction to avoid, as much as possible, spending money and time on things they might not really need or might not perform as well.

Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[–] possiblylinux127@lemmy.zip 20 points 3 weeks ago (8 children)

Seek someone with professional experience. Also you don't want to host your own email server. Use the cloud for this as it is way simpler and doesn't have the same issues.

!sysadmin@lemmy.world

[–] azron@lemmy.ml 6 points 3 weeks ago* (last edited 3 weeks ago) (4 children)

We, selfhosters and sysadmins alike, need to change our tune around the position of "do not self host email." It only serves to keep email in the grip of big tech. Yes it is difficult and someone without any experience shouldn't start there but it is definitely manageable and not nearly as hard as it is made out to be.

There are multiple email "distributions" nowadays making the software stack set up and maintenance effectively an exercise in running a regular Linux distro upgrade. Mailinabox and mailcow to name two off the top of my head.

The DNS records are relatively straightforward to set up and validate with these mail distros, they basically tell you what to put and provide ways of validating you did what they said you should. There are also many ways to test that you set them up properly by having a service validate them via email you send to the testing service, e.g. mail-tester.com and dmarctester.com, finally DMARC has a report function builtin so you can get regular delivery reports that come directly from the servers that are choosing what to do with your email giving you a clear signal when there are problems.

You don't have to jump into hard mode around a clean IP either you can offload that for a nominal fee to an email service provider if you don't want to try your luck, e.g. MXroute.com has a one time fee for multiple domains.

Yes email is convulted and confusing at times and scary to host given how essential it is but I'd encourage anyone with the time and desire to do it.

[–] possiblylinux127@lemmy.zip 4 points 3 weeks ago (2 children)

Self hosting email is a huge pain. I wouldn't personally recommend it. In many ways it sucks but that's the world we live in.

[–] azron@lemmy.ml 4 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

Right you said that above and that is what resulted in my larger response. Reiterating without any more information doesn't really change your position in a tangible way. I appreciate that is your stance and many others' stance. I think we need to encourage the opposite to change the landscape of the internet.

[–] possiblylinux127@lemmy.zip 3 points 3 weeks ago* (last edited 3 weeks ago)

Except you haven't talked about the key problem with mail servers, reliability. When you host a mail server there are so many things that can go wrong. Everything from the hardware to the software becomes a potential point of failure. And that doesn't even include the issues with your IP getting flagged. Be ready to have your emails either be blocked or go straight to spam. That's fine for a hobby project but I wouldn't self host your main email. You are just shooting yourself in the foot.

As it turns out email is just way to easy to abuse. You can self host a Matrix or Simplex server if you want easy federated communications.

load more comments (1 replies)
load more comments (4 replies)