this post was submitted on 06 Sep 2025
59 points (94.0% liked)

Selfhosted

51402 readers
1057 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 2 years ago
MODERATORS
 

Just joined a couple of days ago so only fair to sum up the things I host myself.

I have 2 locations I host my personal stuff.

  • Datacenter:

    • Websites
    • DNS servers
    • Lemmy
    • Friendica
    • Mail servers
  • Home:

    • Home Assistant
    • Frigate
    • Jellyfin (incl Sonarr, Radarr etc)
    • Immich
    • Fileserver
    • Nextcloud

In the Datacenter I still run a VMware ESXi server that needs to be replaced (this winter) and at home I have a Truenas server and 4 Proxmox nodes cluster.

you are viewing a single comment's thread
view the rest of the comments
[–] Cyber@feddit.uk 26 points 1 week ago (6 children)

Mail servers?

How are you finding that these days? I thought all the anti-spam stuff meant that self-hosted email was just not worth it these days?

[–] JadedBlueEyes@programming.dev 1 points 2 days ago

I host mail via Stalwart, which makes it pretty damn easy - it handles most everything, just giving you a big block of DNS records to upload with all the DKIM SPF MTA-STS nonsense. However, spam filtering from big providers is still occasionally an issue. I still occasionally get reports of mail making it into Gmail's spam inbox, for example.

[–] IsoKiero@sopuli.xyz 18 points 1 week ago

On residential connections it's a bit pain in the rear, but if you get VPS (or something similar) it's perfectly manageable. You just need to maintain stuff properly, like having proper DNS records, and occasionally clear false positives from spam lists. The bigger issue is to have proper backups and precautions, I've hosted my own emails for over 10 years and should I lose all the data and ability to receive new messages it would be a massive personal problem.

[–] Ron@zegheteens.nl 8 points 1 week ago (1 children)

I also have a mail filter, I have been hosting my own mail server for the last 25 years.

[–] Theoriginalthon@lemmy.world 3 points 1 week ago (1 children)

Out of interest what are you using? I was postfix/courier for a long time, with a must migrate to dovecot 10 years ago. Finally migrated this year and the performance difference is noticeable

[–] Ron@zegheteens.nl 5 points 1 week ago (1 children)

I recently moved to Mailcow, it's a one in all solution. My spam filter is Proxmox mail gateway, also very user friendly.

[–] tvcvt@lemmy.ml 1 points 6 days ago (1 children)

Have you by any chance documented your PMG set up? I'm also a very happy Mailcow user and spinning up PMG is something I've been meaning to tackle for years so I can implement archiving with mailpiler, but I've never really wrapped my head around how everything fits together.

[–] Ron@zegheteens.nl 1 points 5 days ago (1 children)

There is not much to document on how to set it up. The gui is very intuitive.

You need to setup the relay domains, transports and Options>DNSBL under configuration > mail proxy

[–] tvcvt@lemmy.ml 1 points 3 days ago (1 children)

Thanks for the response. I really should just dive in, but I’ve got this nagging fear that I’m going to forget about some DNS record that will bork my entire mail service. It good to hear about some working instances that people are happy with.

[–] Ron@zegheteens.nl 1 points 3 days ago (1 children)

After you setup the mail gateway you can telnet to port 25 and do the command line mail test and see if mail is delivered to your mail server. After that is confirmed you change your dns mx records.

[–] tvcvt@lemmy.ml 1 points 2 days ago (1 children)

That’s a great tip. I’d completely forgot you can use telnet for that. Thanks!

[–] Ron@zegheteens.nl 2 points 1 day ago

Np good luck with the project

[–] suzune@ani.social 4 points 1 week ago

Not really. Postfix is very robust against attackers and knows to how to deal with bots by default. It makes sense to also configure SPF, DKIM and DMARC for your own safety.

If you want to stop the attackers from hammering, you can also add fail2ban.

If you want to avoid spam, you can attach a spamfilter to the delivery agent and let Sieve do the rest.

I've been running my postfix/dovecot combo using 4 mail domains for over 5 years without any problems. It's simply fantastic.

[–] Eirikr70@jlai.lu 3 points 1 week ago

It is hard to set up and you might need an SMTP relay since most ISPs close port 25. But it is feasible.

[–] Brkdncr@lemmy.world 1 points 1 week ago (1 children)

It’s not worth it but some people don’t mind the cost.

[–] Eirikr70@jlai.lu 1 points 1 week ago (1 children)
[–] Brkdncr@lemmy.world -2 points 1 week ago (2 children)

Real email security gateways cost money. There’s no good way to deal with it at small scale.

[–] Ron@zegheteens.nl 5 points 1 week ago (1 children)

They don't have to cost money. The mail filter appliances are all based on postfix, spamassassin and a virus scanner like clamav. The thing you pay for is the nice gui.

[–] Brkdncr@lemmy.world -2 points 1 week ago (2 children)
[–] Ron@zegheteens.nl 1 points 1 week ago

It is, I looked at several vendor's and it's all te same except for the nice gui. They all have their own blacklist that they feed with the spam/ham queries from their devices.

[–] Eirikr70@jlai.lu 1 points 1 week ago

I genuinely don't understand what you are paying for. I must have missed something.

[–] Theoriginalthon@lemmy.world 1 points 1 week ago

Depends what you mean by "security"