If you want to self host email server, you can keep eye on these two projects:

1. Mox (written in Go): https://github.com/mjl-/mox
2. Stalwart (written in Rust): https://stalw.art

#email #selfhosting #selfhosted #privacy #secutity #sysadmin

GitHub - mjl-/mox: modern full-featured open source secure mail server for low-maintenance self-hosted email

modern full-featured open source secure mail server for low-maintenance self-hosted email - mjl-/mox

GitHub
@ml @doncow I've been running #mailcow for a few years and very happy with it.
https://mailcow.email/
mailcow: dockerized - Blog

The mailserver suite with the 'moo' – 🐮 + 🐋 = 💕 | Official Blog Page

mailcow: dockerized - Blog
@jd Heard good things about it. Though I haven't tried it personally.

@jd @ml @doncow

I like to send mails about our free ebook releases, for around 50k users. 4-5 emails per week.

Can these selfhosted SMTP help to achieve them without being marked as spam?

which email server is good for this purpose?

@tshrinivasan For this purpose, Postal (postalserver.io) is the recommended mail server. You have to follow some basic rules to not end up in a blacklist:

1. IP & Domain Reputation matters. Get the IP from a provider like Hetzner who blocks port 25 by default.

2. Only send to the people who really wants to receive your email.

3. Warmup your IP & Domain. Don't send bunch of emails in the beginning. Send only 100 in the first day, 120 in the second day .. continue like this.

@ml thanks. Will explore it.

I have a homelab server. Can I use it ?

@tshrinivasan It's not recommended to use a residential IP. You'll have to use a SMTP relay to avoid issues.
@tshrinivasan That's well outside my field of experience I'm afraid, but it looks like you've got some solid advice from @ml. I think you'll want to read up on list-unsubscribe headers too?
@ml I agree: especially @stalwartlabs is amazing on so many levels.