Email is an open system, right? Anyone can send a message to anyone… unless they are on Gmail! School Interviews uses two email servers t…

  • Short answer: Don’t.

    Long answer: It is a massive amount of work, not just to setup, but also to maintain. On top of the fact that the big email providers block smaller email servers like crazy. Even if you had business class Internet service at home, the IP range is most likely already in their block lists. And if you have it on a VPS, the amount of time and effort it takes to get the security and filtering going properly is nightmarish.

    It really sucks, but it’s a fait accompli.

    •  Freeman   ( @freeman@lemmy.pub ) 
      link
      fedilink
      English
      101 year ago

      Would agree.

      Even when done 100% by the book and correct. Companies like Google and Microsoft, in particular, will just randomly send the email to spam.

      I gave up after years of fighting the good fight and went to googles free tier. That is now over and I probably just need to move to some other service.

      Also dont use a gTLD or if you do, have a backup .com or .us as well. Many forms dont recognize things like .email as legit.

    •  chris   ( @chris@l.roofo.cc ) 
      link
      fedilink
      English
      81 year ago

      Even if you set up everything perfectly you encounter email providers that only have allow lists and you have to jump through hoops to be allowed to send emails to them (like publishing your whole name and address). I loved the fact that I had a mail server but in the end it didn’t make sense.

    • Additionally, these days the sheer amount of flak that a self-hosted mail server gets are enough to make a lot of providers ask you to either shut it down or go somewhere else. Probably 80-90% of the server’s inbound network traffic will be bots trying to brute force access (usually over POP3 or IMAP4, though occasionally SSH) to use it as a spam relay as well as relatively dumb bots just assuming that your server is an open relay and trying to send garbage through it. That kind of traffic hogs a lot of bandwidth and the hosting provider will have to do something about it to keep their infrastructure stable. Also, figure that you’ll be spending about as much CPU time on the server for anti-spam processing on a 24x7 basis.

      I have to agree with other commenters, it’s just not worth the hassle and kinetic pattern baldness these days.

    • To anyone not scared off by this, my main mail server is based around this guide. I make some changes, but I think it does a good job explaining the various moving parts and a way of setting them up:

      https://workaround.org/ispmail/bullseye/

      There are also some easy to deploy dockerized projects that I hear are good like mailcow.

      https://mailcow.email/

      Or to for the simplest experience, you could use panel software like cpanel or plesk or something that does e-mail, web hosting, etc all in one package. I manage a plesk install that works… okay.

      Managing e-mail is a bit of a pain, especially the initial setup, and finding clean IP spaces. But honestly I spend very little time managing mine. Months go by where I basically do nothing.

      …then microsoft or google do something stupid, or a user gets infected and send some spam I don’t catch, and I’ve got a day of hecticly trying to get mail flowing again while users send me nastygrams

    • THIS!

      Managing mail servers is the worst. If you want your own email just go register email on something like Zoho. It’s cheap and the couple $$ you spend on it is money well spent to prevent the time and aggravation you’ll have running your own server.

      • Yeah, as someone who hosts a private email server, don’t do it. I don’t use my mail server for anything remotely important, because I don’t have enough monitoring in place to be sure it’s working 100% of the time. Silently dropping emails is a huge deal, especially if your monitoring is email-based… It’s 100% worth it paying for email hosting if you want to set up custom domains and mailboxes.

        • Incoming mail is the problem? What is the problem? Is it not in a data center? Or is it that you do not have at least two incoming smtp servers so the other can take over when one is down?

          Just curious the root cause of the problem as it is not one I would expect. I found email fairly easy to setup on my VPS, but have not really used it much except for traffic related to my VPS.

          • As far as I know, I’ve never dropped incoming emails, but I have no way of knowing due to insufficient monitoring. My mail server is in a datacenter, but I don’t have any redundancy or failover. It’s not worth my time to set up vs paying someone to manage email for me. Google’s spam filtering and integrations are also better than I’ll ever be able to achieve for $6/month Google Workplace Gmail.