Top
Best
New

Posted by geek_at 1 day ago

Self-host your mail server(blog.haschek.at)
57 points | 43 commentspage 2
EMAIL36245 1 hour ago|
I beg to differ on:

> but if your home internet checks these boxes, you can 100% host your own mailserver at home:

    Static IPv4 address (make sure it's not blacklisted)
    Not behind a CGNAT
    Ability to change the PTR record of your IP (usually though the support of your ISP)
    Ability to open common mailserver Ports (25,143,465,587,993)

Because above is only needed if you want to communicate with people using Gmail, Yahoo, Outlook, Fastmail, Proton etc (The monopoly).

For normal folks, they are better off using an alternate less privileged email service like email.riamu.io.

tenacious_tuna 1 hour ago||
I'd love to self-host a mailing list, or that protonmail or fastmail offered listserv like functionality. It feels fairly intimidating to hoist my own mail server and listserv on top of that. It feels like there's too much domain-specific knowledge one needs to have to reliably debug and maintain it: DKIM, spam management, certbot, fail2ban, blah blah blah.
tossitawayplz 1 hour ago||
Michael W Lucas has a book[0] on the subject too: https://mwl.io/static/books/run-your-own-mail-server.html
Krei-se 1 hour ago||
I self-host with telekom business, 2 fixed ip lines fiber and vdsl at home everything from auth ns to mail and web. Its around 85€ for me.

it's still doable and you get the best feeling there is: Living in the internet.

Can recommend 100%.

kimovski 2 hours ago||
Blast from the past:

https://en.wikipedia.org/wiki/Hillary_Clinton_email_controve...

geek_at 1 day ago||
Sorry the title should have been "You should self-host your mail server" but it seems HN removes the "You should" in the beginning of a title.

I wanted to start this discussion because I think we are prime for more self hosted mail servers in 2026 and in the post I explain how to use a locally hosted LLM to nudge the spam detector rspamd to whether or not an incoming mail is spam.

Also in times where the EU can order your mail providers to scan for unwanted content [1] (currently limited to CSAM, later probably more) it does feel better to have your data at your hand.

[1] https://en.philenews.com/international/privacy-to-end-in-the...

throw0101d 2 hours ago||
> But there are other solutions out there like: Stalwart; Mailcow ;Or if you're a purist you can set up your whole server yourself

Another good guide that uses Debian and its standard packages:

* https://workaround.org/ispmail-trixie

(Updated with every release, and upgrade/migration instructions.)

dangerboysteve 2 hours ago|
Some out of the box solutions.

https://www.iredmail.org

https://mailinabox.email/

throw0101d 2 hours ago||
Waiting for a submission of "You should run your own NNTP server" (lots of 'nostalgia' for web forums to come back, so why not this too?).
dangerboysteve 2 hours ago||
What hosting / VPS companies do you recommend? Finding one which allows you to run a mail server is some work.
dwedge 1 hour ago||
A lot of them will let you if you ask, for instance even ionos or ovh. Digital ocean have a blanket ban on port 25 ipv6 but I haven't seen a reason to use them for a decade now. +1 for mythic beasts
hkt 2 hours ago||
Mythic beasts. Their IP ranges are pretty clean and well managed. My deliverability has been fine there for years.
ubermonkey 2 hours ago|
Counterpoint: No.
More comments...