Skip to main content

Gilles Chehade

I write and run systems software. I’m the author of OpenSMTPD, the mail server that ships in the OpenBSD base system, and CTO of Plakar, where I work on kloset, a content-addressable backup engine. poolp.org is where I write about what I build.

I also take short consulting engagements — architecture and code review, technical due diligence for funds and acquirers, mail infrastructure — through my practice, aljuna.tech. If you’ve read something here and want the same eyes on your system, that’s the door.

October 2019 report: OpenSMTPD 6.6.0 release mostly

·1225 words·6 mins
TL;DR: - yay, surprise emergency hand surgery... - OpenSMTPD 6.6.0 was tagged and released, including portable version - Merged contributions to fix filter-rspamd bug with DKIM - Work resumed on 6.7.0 feature - An OpenSMTPD book is in the works How I landed in the emergencies # I accidentally cut my hand real bad early October and rushed to the nearest hospital. They had a look, told me it was superficial and required to be sutured, so I was out a few hours later with a few stitches and pain killers.

September 2019 report: Jules, OpenSMTPD 6.6.0 upcoming release and related things

·1461 words·7 mins
TL;DR: - I started writing this post a week ago but got interrupted by a baby, Jules - Spent MANY hours on writing OpenSMTPD-related articles - Enabled continuous integration in the OpenSMTPD portable repository - Managed to get rid of all the blocking issues for OpenSMTPD 6.6.0 release - Added some features and fixed a crash in filter-rspamd Welcome Jules, fork() completed # In my last report from August, I concluded not knowing if this report would be published on time.

Setting up a mail server with OpenSMTPD, Dovecot and Rspamd

·7943 words·38 mins
TL;DR: - NO TL;DR: this time, I spent hours writing, you should spend minutes reading. - OK... I explain in WAY TOO MUCH details how to setup a mail server EDIT (2019-10-26) # OpenSMTPD 6.6.0 was released today, the article was updated to reflect that it applies to the current release and no longer a development version.

You should not run your mail server because mail is hard

·3035 words·15 mins
TL;DR: - Mail is not hard: people keep repeating that because they read it, not because they tried it - Big Mailer Corps are quite happy with that myth, it keeps their userbase growing - Big Mailer Corps control a large percentage of the e-mail address space which is good for none of us - It's ok that people have their e-mails hosted at Big Mailer Corps as long as there's enough people outside too EDIT (2019-12-15) # A practical guide to set up a mail exchanger was published on this blog.

August 2019 report: Fion, Plakar and OpenSMTPD

·2094 words·10 mins
TL;DR: - small inprovements to the fion window manager - plakar is a backup utility I wrote a long time ago that I will share - tons of opensmtpd stuff, mostly filters and issues handling Shout outs to my patrons ! # As has become the habit, this report begins with a big thank you to my patrons, cited by contribution then alphabetical order.

July 2019 report: tons of smtpd work mostly

·2827 words·14 mins
TL;DR: - not much work outside of OpenSMTPD this week - OpenSMTPD portable builds with OpenSSL 1.1.x again - smtp-out reporting is working correctly on my laptop - wrote two filters that I'm actually using as you read this Shout outs to my patrons ! # As will become the tradition hopefully, this report begins with a big thank you to my patrons, cited by contribution then alphabetical order.

June 2019 report: fion, bpg and smtpd

·3528 words·17 mins
TL;DR: - started working on FION, a static tile window manager - revived BPG, a PGP parser - converted OpenSMTPD to libtls - wrote a library to make writing of native C OpenSMTPD filters easy - started writing a filter-rspamd Thanks to my patrons ! # First of all, a huge thanks to my first patrons:

happy new year 2019, a personal post

·630 words·3 mins
TL;DR: Way too many things happened in a six months timeframe. This post won't need a TL;DR as I'll keep it short. Generalized anxiety disorder and alexithymia. # Late 2018, I’ve been diagnosed with generalized anxiety disorder and alexithymia a couple weeks apart.

OpenSMTPD now supports regex in match rules

·309 words·2 mins
TL;DR: regex table lookups were introduced for builtin filters. After a few weeks of working solely on filters, I wanted to work on something else. Using the same mechanism, all match criterias using tables can support regex. K_REGEX lookups # The table mechanism is used within OpenSMTPD to perform all kinds of lookups.

more on OpenSMTPD filters

·1836 words·9 mins
TL;DR: Not this time, pal/gal, I took hours writing this post, you'll take a few minutes reading it all. Oh, and merry X-mas :-* A bit of short-sighted history # The filtering feature has been introduced only recently in OpenSMTPD, first presented on this blog a month ago.