I have run my own mail server now for 20+ years. its is runnig postfix , with spamassain. the users have imaps, and roundcube www gui.

It had been running fine, and have been updated HW / OS a lot of time over the years, now its runnig on rocky O/S

52 points

I’ve been told running an email server is the final boss of self-hosting

permalink
report
reply
26 points

The ultimate boss fight is hosting your email server AND making your family use it

permalink
report
parent
reply
20 points

Actually to be fair, mine works fine and always has. The final boss is making Hotmail/live/Microsoft actually accept your email despite you jumping through all the hoops to have perfect spam score.

permalink
report
parent
reply
2 points

This! Never managed to get this achievement 😃

permalink
report
parent
reply
7 points

Everyone keeps saying that but I just can’t see it. The only time my mails were rejected was because I didn’t know what I was doing at the beginning of my journey. Now, whenever I changed my stack or did some major updates the past 20 years or so, I just go to 2-3 sites that analyze my mail server from the outside and tell me if there is anything wrong. The free tier is always more than enough. Just make sure there is at least one service in the list where you send an email to a generated mailbox and have it analyzed. Just looking at the mail server is not enough to find all potential configuration issues.

I aim at a100% score. It’s time consuming the first time around but later it’s just a breeze.

permalink
report
parent
reply
11 points

Would never want to do it. I don’t wanna be responsible for the outage and them needing an important email.

permalink
report
parent
reply
20 points

IMHO, as someone running his own mail server, the real final boss is LDAP and implementing SSO on all your selfhosted goodies. Bonus points if you then use it to login to other services that support OAuth 2.0.

permalink
report
parent
reply
11 points

Did you mean OpenID perchance? OAuth is not an authentication protocol.

permalink
report
parent
reply
6 points

Oright, yes, I haven’t studied it properly yet, thanks for the correction.

permalink
report
parent
reply
9 points
*

I have my own mailserver just for me and it wasn’t that complicated to be honest. I set it up with Mailcow in Docker in under a day. So far it has been stable with regular backups and updates through Lighthouse.

Maintenance comes down to 5 minutes every three months because somehow Let’s Encrypt and Mailcow don’t like each other and I have to renew the certificate manually.

permalink
report
parent
reply
2 points

Do you know if this setup could run on 512mb of RAM? I tried to set up mailman 3 but it gets OOM-killed immediately

permalink
report
reply
-1 points

Nope sorry, that is to little ram. I don’t know how much ram my mailserver uses but will look

permalink
report
parent
reply
5 points

You can, as long as you aren’t trying to do virus scanning - ClamAV needs a couple of GB on its own

permalink
report
parent
reply
4 points

Mines running postfix, spamassassin and dovecot and runs pretty happily in 1GB, but when I was running in 512MB Spamassassin would get killed fairly regularly when it ran out of RAM

permalink
report
parent
reply
3 points

Doubt it, but it’s the spamassasin part that I think won’t work.

permalink
report
parent
reply
2 points

Yeah, I’d recommend using rspamd for lower-end hardware over spamassassin. Might be a bit more work to set up, mostly because it’s not as popular, and there are fewer tutorials, but it doesn’t have the overhead from running on perl like spamassassin. That said, while there are people using rspamd on systems with 512MB of ram, they are usually smaller, personal setups that aren’t dealing with hundreds of emails a day.

permalink
report
parent
reply
3 points

Look a basic VM from OVH or Vultr runs you like $5 USD. I’m talking 1 core 1gb ram. If anyone is offering 512mb for any less than like $2.5 is a scammer. But seriously, $5 is immensely worth it.

permalink
report
parent
reply
9 points

Buy yourself a cookie!

permalink
report
reply
2 points

Awesome, I’m only on year 3 or so. Have you implemented DANE? I haven’t gotten to a point where I can properly make it work but I’m slowly getting there.

permalink
report
reply
5 points

Now for the Final Challenge, write an eli5 tutorial on how to host and maintain a mail server!

permalink
report
reply
6 points

I can’t take credit for writing it, but here you go!

https://workaround.org/

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

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!

Community stats

  • 4.8K

    Monthly active users

  • 3.5K

    Posts

  • 79K

    Comments