Download raw body.
smtpd: Don't allow max-rcpt lower 100
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.
smtpd: Don't allow max-rcpt lower 100