Index | Thread | Search

From:
op@omarpolo.com
Subject:
Re: smtpd: add TLS flag to envelopes
To:
"Kirill A. Korinsky" <kirill@korins.ky>
Cc:
tech@openbsd.org, gilles@poolp.org
Date:
Sun, 13 Sep 2026 19:58:02 +0000

Download raw body.

Thread
13 settembre 2026 17:35, "Kirill A. Korinsky" <kirill@korins.ky> wrote:

> On Sun, 13 Sep 2026 14:01:29 +0200,
> "Omar Polo" <op@omarpolo.com> wrote:
> 
>> from Johan Hattne via https://github.com/OpenSMTPD/OpenSMTPD/pull/1311
>> 
>> currently, a configuration like
>> 
>> match ... tls ... action foobar
>> 
>> which should specify that the transaction was over TLS, fails with 451
>> because ruleset_match_smtp_starttls() is a stub that returns -1.
>> 
>> I'm adding the missing getflag() in smtpctl.c which otherwise was
>> breaking `smtpctl show queue'.
>> 
>> ok?
> 
> makes sense and reads OK kirill@

committed, thanks :)