this post was submitted on 29 Jan 2024
14 points (85.0% liked)

Selfhosted

40134 readers
543 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
 

Hey-ho πŸ‘‹

What is the best approach for selfhosting an email server with static IP or blocked port 25?

I've done it many times in many different ways, now doing it again and want to hear what is the best approach these days

My port 25 isn't even probably blocked, I just prefer to use my vps to help it with this stuff

Any suggestions?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 9 months ago* (last edited 9 months ago) (3 children)

Hosting email with mailcow dockerized worked pretty good on my netcup vps, but before you go into hosting email ask yourself a few questions:

  • Will you use your selfhosted mail for important things? (Banking, official correspondence and so on)
  • Can you promise a near 100% uptime? Otherwise, some email might not reach you.
  • How important is the Mail you send? Some (stupid) Blocklists generally block all IP ranges that are sold out by vps companies and other kinds of IAAS.
  • If you register any accounts with your selfhosted mail, can you guarantee yourself that your email account is secure? Don't underestimate what an attacker can do with a compromised Mail account.

I personally ended up scrapping my email server eventually. Nowadays I pay a company to do the mail hosting, you just need to set some DNS records and they do everything else. Personally, I'm with proton, but there are many good alternatives.

[–] [email protected] 6 points 9 months ago

Ya I had to bail on hosting email, getting off of block lists and verifying that people even get your outbound email is near impossible at this point.

[–] [email protected] 3 points 9 months ago (1 children)

As i said i already have experience of hosting email, many different ways, etc

Will you use your selfhosted mail for important things? (Banking, official correspondence and so on)

I'm barely using email because have really few services that require an email (foss and selfhosting evangelism)

Can you promise a near 100% uptime? Otherwise, some email might not reach you.

I can promise you anything under these stars. And some of it would be true because my specialization is 0 downtime systems

How important is the Mail you send? Some (stupid) Blocklists generally block all IP ranges that are sold out by vps companies and other kinds of IAAS.

Never had any problems with the big hosters like do, linode, vultr, hetzner

If you register any accounts with your selfhosted mail, can you guarantee yourself that your email account is secure? Don't underestimate what an attacker can do with a compromised Mail account.

Selfhosting for many years, never got hacked because I take security seriously

Nowadays I pay a company to do the mail hosting

I'm trying not to pay companies when not necessary, and especially not for a "setup service"

[–] [email protected] 2 points 9 months ago

Alright, you seem to have a good grasp on what you're doing. Good luck have fun. I really hope it works for you.

[–] [email protected] 1 points 9 months ago

Can you promise a near 100% uptime? Otherwise, some email might not reach you. Just lol. Mail get queued just fine by everyone. If you really concern , setup second MX.