this post was submitted on 30 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

515 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I have a small business that needed a self hosted mail server.

I've already planned for this server to be hosted on a VPS, and I already have a domain name. Now I just need a mail server that do what I need.

I need it to have:

- A web interface

- Be able to easily create new accounts/users from the web interface

- Be able to create account/user without having to create a user on the server itself (optional)

I've been looking into PostFix, Mailcow and Mail-in-a-box, but I'm not quite sure about them.

Thanks a bunch.

you are viewing a single comment's thread
view the rest of the comments
[–] naxxfish@alien.top 1 points 1 year ago

Beyond the shorthand advice of "don't" - here's some reasons (from somene who ran a mail server) why you might not want to:

  • If your server goes down for any reason, you'll probably loose mail - and potential business - with nobody to blame but yourself.
  • You'll probably find that randomly your users can't send email to some domains for no apparent reason - even if your DNS and SPF records are perfectly in line. Fixing this is often non-trivial.
  • Gmail and the like has made people forget how much of an issue Spam (and Phishing) is. Run your own mailserver and you'll find out very quickly it's still a huge issue and mitigating it is non-trivial.
  • A mail server is a tasty target for attackers, with potentially lots of confidential information in it and the ability to impersonate your users or their contacts - and unless you're doing a full time job keeping it secure, and trust that all the software on it is being patched regularly - it is an easy one to breach.
  • At some point your users will complain that it's slow, and you will spend days trying to figure out why.
  • Either you'll enforce strict quotas on your users (which they will complain about), or you don't and need to continually feed it disk at ever increasing costs.
  • Resetting passwords / 2FA will be another workload on top of all of the above.

All of this may be worthwhile if having your own mail server is the only way to achieve your goals. But, 99% of the time, a managed service (any managed service really) is more than adaquite.