frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Self-hosted email server for 2026 – single binary, CalDAV

https://github.com/fenilsonani/email-server
7•fenilsonani•2d ago
Built this after getting frustrated with the paying to a google for email. Now running it for 1 months in production.

What it does: - Full SMTP server (inbound/outbound, DKIM signing, SPF/DMARC checking) - IMAP with IDLE support - CalDAV/CardDAV (replace Google Calendar/Contacts) - Web admin panel with Prometheus metrics - Greylisting for spam prevention - Auto-discovery (mail clients configure themselves) - Audit logging for compliance

What it doesn't do: - Webmail (use Roundcube, etc.) - ML-based spam filtering (greylisting + basic heuristics only) - Clustering/HA

Comments

fenilsonani•2d ago
I built this after Google Workspace pricing jumped again and I wanted full control over my email stack.

This is a self-hosted email server written in Go, shipped as a single binary. It supports IMAP (with IDLE), SMTP, DKIM, SPF/DMARC, and CalDAV, with modern defaults and minimal configuration.

The goal is something you can run on a small VPS for personal or small-team use without vendor lock-in.

I’d really appreciate feedback on the architecture, security model, and what you’d want to see next.

slooonz•2d ago
Why would I pick this over established players : Maddy, Mox, Stalwart ?
fenilsonani•2d ago
Honestly if you need something battle-tested right now, those are solid choices.

I built this because I had specific pain points - didn't want to set up Postgres or MySQL just for email metadata, wanted calendar and contacts baked in for a complete Google Workspace replacement, and wanted dead simple config that still does DKIM/SPF/DMARC properly.

Future roadmap includes SendGrid-style stuff - API for transactional emails, webhooks. But the core idea stays: good architecture, solve real pain points, keep it simple and fast.

atmanactive•2d ago
Very interesting, thanks for sharing. Looking at the /etc/mailserver/config.yaml example from README.md, I couldn't help but notice that the Bind-To Listening IP is missing. What happens if I have a multi homed machine with several IPs? Does the server gloom on all IPs?
fenilsonani•2d ago
Yeah you caught that - right now it just binds to all interfaces by default. Definitely need to add a bind_address option in the config. That's going on my list.

If you're on a multi-homed setup right now, firewall rules would be the workaround, but I hear you - it should be in the config properly.

Thanks for the feedback, this is exactly what I was hoping to get from posting here.

Stop Doom Scrolling, Start Doom Coding

https://github.com/rberg27/doom-coding
1•rbergamini27•57s ago•0 comments

No Backup, No Cry

https://world.hey.com/dhh/no-backup-no-cry-274e0c31
1•tosh•1m ago•0 comments

Isaac French on X: "Why Tesla Might Save Small Towns" / X

https://twitter.com/isaacfrench_/status/2008585848099360923
1•bilsbie•2m ago•0 comments

Every Stanley Kubrick movie, ranked

https://www.vulture.com/article/every-stanley-kubrick-movie-ranked.html
1•ColonelDax•2m ago•0 comments

The Quiet Unraveling of the Power Grid Monopoly

https://oilprice.com/Energy/Energy-General/The-Quiet-Unraveling-of-the-Power-Grid-Monopoly.html
2•xbmcuser•3m ago•0 comments

The O'Saasy License

https://world.hey.com/dhh/the-o-saasy-license-336c5c8f
2•tosh•3m ago•0 comments

MTV Simulator

https://wantmymtv.vercel.app/
2•cyanbane•4m ago•0 comments

The science of green hair care

https://knowablemagazine.org/content/article/food-environment/2025/science-of-green-hair-care
2•PaulHoule•4m ago•0 comments

Terraform PRs that explain themselves – built for platform and DevOps teams

https://tryterracotta.com/
2•gtlpanda•5m ago•1 comments

Earth – a project to visualize global weather conditions

https://github.com/cambecc/earth
2•indigodaddy•5m ago•0 comments

O(1) Memory Architecture: Constant-Time Lookups Across 7 Layers

2•buttersmoothAI•6m ago•0 comments

Calling All Hackers

https://phrack.org/issues/71/17#article
2•rishabhd•7m ago•0 comments

Google Big Sleep: Linux Vulnerabilities

https://blog.gnoack.org/post/bigsleep-linux
2•speckx•7m ago•0 comments

The Ruff Linter

https://docs.astral.sh/ruff/linter/
2•tosh•7m ago•0 comments

Kahvibreak – J2ME game collection (5600+ games)

https://bluemaxima.org/kahvibreak/
2•Tiberium•8m ago•0 comments

Engineering an LLM-Based Data Classifier

https://getnumberseven.com/articles/ethyca-ai-classifier
2•sirgawain33•9m ago•0 comments

Ultorg – the missing user interface for relational databases

https://www.ultorg.com/
2•microflash•10m ago•0 comments

High-Performance DBMSs with io_uring: When and How to use it

https://arxiv.org/abs/2512.04859
2•matt_d•10m ago•0 comments

Guide to Adopting Kotlin in a Java-Dominated Environment

https://blog.jetbrains.com/kotlin/2025/12/the-ultimate-guide-to-successfully-adopting-kotlin-in-a...
2•saikatsg•10m ago•0 comments

Building a software-defined GPS receiver

https://axleos.com/building-a-gps-receiver-part-1-hearing-whispers/
2•speps•10m ago•0 comments

Rwx: "Ralph Wiggum Loop" util for Claude/codex

https://github.com/r2d4/rwx
2•rckrd•12m ago•0 comments

How Saudi Arabia's Neom dream unravelled

https://www.ft.com/register/access
3•hermitcrab•13m ago•2 comments

REI's 'Return Tags' Are an Oral History of Hilarious Outdoor Mishaps

https://gearjunkie.com/outdoor/rei-return-tags-humor
2•jerlam•13m ago•0 comments

Trump Murders U.S. Public Media

https://www.techdirt.com/2026/01/06/trump-successfully-murders-u-s-public-media/
6•wahnfrieden•13m ago•0 comments

Short demo video of a GitLab self-hosting workflow

https://www.youtube.com/watch?v=DCZAMXkRKBE
2•kavitha_kavia•14m ago•0 comments

Prolific Business Lessons Nipsey Hussle Gifted the World

https://www.entrepreneur.com/leadership/7-prolific-business-lessons-nipsey-hussle-gifted-the-worl...
2•tylerdane•14m ago•0 comments

Hyundai Debuts Next-Gen Atlas Robot from Boston Dynamics [video]

https://www.youtube.com/watch?v=e73kf_iLAP0
2•simonebrunozzi•16m ago•0 comments

Google will now only release Android source code twice a year

https://www.androidauthority.com/aosp-source-code-schedule-3630018/
11•tripdout•17m ago•2 comments

Show HN: Doom Playable in a GitHub Readme

https://kuber.studio/blog/Projects/How-I-Made-DOOM-Run-Inside-a-GitHub-Readme
2•kuberwastaken•18m ago•2 comments

Show HN: Plano – Edge and service proxy with orchestration for AI agents

https://github.com/katanemo/plano
5•adilhafeez•18m ago•1 comments