Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    G

    Gilles Chehade

    poolp.org · Personal blog · on HN since 2014

    Gilles Chehade, an OpenSMTPD developer, writes about running mail servers, OpenSMTPD internals, spam filtering, and OpenBSD.

    Visit blogRSSHN submissions
    Open Source & LinuxNetworkingSecurity
    What HN says

    HN commenters recommend his posts as a rebuttal to the 'mail is hard' claim, as a mail server setup guide, and for his OpenSMTPD advisory postmortem.

    Stats for nerds
    21HN people shared it
    23linked in comments
    681story points
    Nov 2023last shared
    2018people per year2023

    Top posts on HN

    1. 1
      The “mail is hard” myth
      4 people · 435 points · first shared 2019 · 301 comments on HN
    2. 2
      Implementing a System Call for OpenBSD
      1 person · 96 points · first shared 2020 · 30 comments on HN
    3. 3
      OpenSMTPD advisory dissected
      3 people · 51 points · first shared 2020 · 26 comments on HN
    4. 4
      Setting Up a Mail Server with OpenSMTPD, Dovecot and Rspamd
      4 people · 45 points · first shared 2019 · Discussion on HN
    5. 5
      OpenSMTPD 6.0.0 is released
      1 person · 27 points · first shared 2016 · 3 comments on HN
    6. 6
      Spfwalk - utility to fetch SPF records and whitelist MX for particular domains
      3 people · 4 points · first shared 2018 · Discussion on HN
    7. 7
      OpenSMTPD proc filters and fc-rDNS
      2 people · 3 points · first shared 2018 · Discussion on HN
    8. 8
      OpenSMTPD: Home, sweet home
      1 person · 3 points · first shared 2015 · Discussion on HN
    9. 9
      Switching to OpenSMTPD new config
      1 person · 3 points · first shared 2018 · Discussion on HN
    10. 10
      December 2020: OpenSMTPD 6.8.0p1 released – poolp.org
      1 person · 2 points · first shared 2020 · Discussion on HN

    What HN people wrote when they linked it

    • e12eJul 2021

      I haven't used DCC, but it looks like an interesting anti-spam toolkit:

      https://www.dcc-servers.net/dcc/

      It appears to support "weak" IP matching:

      > All or part of the IP address of the SMTP client can be optionally ignored by DCC clients as far as the greylist triple is concerned. This feature may be useful for legitimate mail systems that shuffle messages among SMTP clients between retransmissions. See the dccm and dccd man pages.

      https://www.dcc-servers.net/dcc/greylist.shtml

      It doesn't quite sound like it does a job of 100% "same email, same sender, different mx in same domain" -but I suspect it works well enough in practice?

      > Usually the DCC greylist system requires that an almost identical copy of the message be retransmitted during the embargo. If weak-body is present, any message with the same triple of sender IP address, sender mail address, and target mail address ends the em-bargo, even if the body of the message differs.

      > If weak-IP is present, all mail from an SMTP client at an IP address is accept after any message from the same IP address has been ac-cepted.

      https://www.dcc-servers.net/dcc/dcc-tree/dccd.html#OPTION-G

      I can't recall what I used for greylisting last -possibly greylistd.

      Anyway, the smart play these days might be to whitelist/greylist via SPF - I'm not sure if spammers (of the variant caught by greylists) generally have…

    • perlgodNov 2018

      I used to run Postfix + Dovecot + Rspamd with all the bells and whistles enabled [1], but I recently switched to OpenSMTPD + spamd on OpenBSD.

      Unlike rspamd, which has pluggable modules for everything under the sun (RBLs, word filters, Bayesian filtering + learning), spamd uses plain ol' graylisting with some PF integration to throttle spammers connections to 1 character/second for maximum annoyance.

      With Rspamd, I never got any spam in my Inbox. With spamd, I get maybe 1 spam mail every two weeks. To me, spamd's ridiculous simplicity is worth the tradeoff.

      You do have to be careful with graylisting large mailers like Gmail, since they rarely retry the mail from the same IP address. For this, OpenBSD's smtpctl now has the spfwalk [2] command to whitelist the big guys. That's what I use in my current setup [3], which was linked here a few days ago.

      [1] https://www.c0ffee.net/blog/mail-server-guide/

      [2] https://poolp.org/posts/2018-01-08/spfwalk/

      [3] https://github.com/cullum/dank-selfhosted

    • the-anarchistApr 2022

      Chip in with a couple of friends who might be on the lookout for a gmail/proton/whatever alternative as well, get an OpenBSD VPS at 1984 Hosting, C*ckbox, FlokiNET, or basically any other hoster that allows communication via port 25 and set up OpenSMTPd and Dovecot. There are plenty[0] write-ups[1] on how to do so in case you need info.

      [0] https://poolp.org/posts/2019-08-30/you-should-not-run-your-mail-server-because-mail-is-hard/

      [1] https://karchnu.fr/posts/2020-09-17-certificate-smtp-imap-antispam.html

    • swixmixJun 2022

      OpenSMTPD is the right answer if you want a general purpose mail server [1] that is secure by default. [2]

      [1]: https://poolp.org/posts/2021-01-31/january-2021-opensmtpd-libtls-conversion-and-unix-domain-sockets-support-noosmtpd/

      [2]: https://www.openbsd.org/security.html

    • poolpOrgNov 2019

      Hello,

      Main developer from the OpenSMTPD project here.

      I also wrote an article a few weeks ago about running your own mail server which is located here:

      https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-opensmtpd-dovecot-and-rspamd/#begintech

    • ori_bJun 2022

      The postmortem is worth reading:

      https://poolp.org/posts/2020-01-30/opensmtpd-advisory-dissected/

      It's worth reading through the systemic mitigations that would make a clone of this bug impossible in the future.

    Related

    Mattobox.matto.nl15 people

    We Must Revive Gopherspace (2017)

    Matto
    Personal · last shared 2025
    Chris Siebenmannutcc.utoronto.ca/~cks388 people

    Go is Google's language, not ours

    Chris Siebenmann
    Personal · last shared 2026
    FSFE Community Blogsblogs.fsfe.org58 people

    Dutch digital identity system crisis

    FSFE Community Blogs
    Publication · last shared 2026
    c0ffee.netc0ffee.net17 people

    How to Run Your Own Mail Server (2017)

    c0ffee.net
    Personal · last shared 2022
    Sandstorm Blogblog.sandstorm.io26 people

    Remotely send Chrome and Node.js into infinite loops via OS X kernel bug

    Sandstorm Blog
    Company · last shared 2015
    Stéphane Graberstgraber.org40 people

    LXD 2.0: Introduction to LXD

    Stéphane Graber
    Personal · last shared 2025
    ACME Labsacme.com74 people

    Goodbye AdSense

    ACME Labs
    Personal · last shared 2026
    Daniel Miesslerdanielmiessler.com241 people

    It’s Time to Get Back to RSS

    Daniel Miessler
    Personal · last shared 2026