Index | Thread | Search

From:
Renaud Allard <renaud@allard.it>
Subject:
Re: smtpd: Don't allow max-rcpt lower 100
To:
tech@openbsd.org
Date:
Sat, 3 Jan 2026 14:51:50 +0100

Download raw body.

Thread

On 02/01/2026 18:26, Martijn van Duren wrote:
> On 1/2/26 17:42, Kirill A. Korinsky wrote:
>> On Fri, 02 Jan 2026 17:05:34 +0100,
>> Martijn van Duren <openbsd+tech@list.imperialat.at> wrote:
>>>
>>> According to RFC5321 section 4.5.3.1.8 we aren't allowed to have a
>>> max-rcpt lower than 100 (MUST). This diff prevents admins from setting
>>> max-rcpt to anything lower than 100.
>>>
>>> OK?
>>>
>>
>> Not sure that it right, but maybe add reference to RFC section here as a
>> reason why we enforce that magic constatn?
>>
> After some back and forth with kirill I see the utility of having a
> reference to the RFC as an explanation for the arbitrary number, but
> finding the right words is hard. Below is what we ended up with, but
> if someone can come up with a better phrasing it would be appreciated.
> 
Phrasing seems quite good to me, but I don't see the point of enforcing 
the value to >=100. Why not put a big warning instead. There might be 
some legit uses with values below 100.