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
[–] 25 points 1 year ago (21 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?

  • source
  • hideshow 21 child comments
  • [–] 18 points 1 year 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.

  • source
  • parent
  • [–] [S] 8 points 1 year ago (8 children)

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

  • source
  • parent
  • hideshow 8 child comments
  • [–] 3 points 1 year ago (7 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

  • source
  • parent
  • hideshow 7 child comments
  • [–] [S] 5 points 1 year ago (6 children)

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

  • source
  • parent
  • hideshow 6 child comments
  • [–] 1 point 1 year ago (5 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.

  • source
  • parent
  • hideshow 5 child comments
  • [–] [S] 1 point 1 year ago (4 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

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 1 year ago (3 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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] [S] 1 point 1 year ago (2 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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 1 year 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.

  • source
  • parent
  • [–] 2 points 1 year ago (7 children)

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

  • source
  • parent
  • hideshow 7 child comments
  • [–] 1 point 1 year ago (6 children)
  • [–] -2 points 1 year ago (5 children)

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

  • source
  • parent
  • hideshow 5 child comments
  • [–] [S] 5 points 1 year ago (3 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.

  • source
  • parent
  • hideshow 3 child comments
  • [–] -2 points 1 year ago (2 children)
  • [–] [S] 1 point 1 year 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.

  • source
  • parent
  • 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.

  • source
  • parent