Hey all, I have a VPS with Hostinger that serves a few websites, very basic stuff, simple blogs or static pages, very low traffic.

At the moment I have ‘custom domain’ emails set up with Protonmail and also Tutanota. They are mainly for client communication one-to-one, I very rarely if ever do mass mail-outs.

I’m looking into the possibility of setting up a mail server instead, but it seems it’s generally not a good idea to run mail server and web server on the same VPS. [– if anybody thinks there may be exceptions to this, do let me know, because I would still be interested if it’s not an entirely bad idea?]

So I’m wondering about a dedicated VPS to run my mail server, but really don’t want to pay much.

In order for it to be cost effective (as opposed to just paying for a mail service with multiple custom domains), i’d want a VPS with 3GB ram and 20-30GB storage that doesn’t block port 25, for less than $6 per month.

Is this likely? Anyone know of any contenders?

  • adamshand@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    There’s no technical problem with running a mail server on the same server as websites. The only concern is simply that web applications are much more likely to have bugs and get hacked than your mail server. If a web app does get hacked, all of your mail is potentially compromised. If you don’t care about that, I’d say … go for it.

    • adamshand@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 months ago

      I don’t know why people feel the need to say this every time somebody asks about selfhosting email.

      • micseydel@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 months ago

        Because hosts like gmail will silently drop your emails and there’s nothing you can do about it. I linked to a source.

        Can someone help me understand the downvotes? Why would I not warn people about this? Am I mistaken?

  • lesigh@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    You absolutely could run both on the same machine. What matters most is the quality of the IP and how you configure the server

  • blind_guardian23@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    If you have the knowledge its fine, if not it wont be fun. mailcow ist the best overall package i have seen.