On Tue, Aug 10, 2021 at 07:54:35PM -0400, Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:
> On Wed, Aug 11, 2021 at 09:48:24AM +1000, raf wrote: > > > If you want postfix to reject a connection immediately > > after the first SMTP protocol error it encounters, > > without the need to construct in advance a list of all > > possible errors, just set smtpd_hard_error_limit = 0. > > > > http://www.postfix.org/postconf.5.html#smtpd_hard_error_limit > > (Immediately underneath smtpd_forbidden_commands) > > Careful there, the documentation is perhaps slightly misleading, it says > "disconnects when the limit is exceeded", but it is in fact when the > limit is reached. The Postfix smtpd(8) server requires the limit to be > at least 1. > > -- > Viktor. Thanks. I'm gathering a list of documentation errors (There's so much (great) documentation!). I'll include that. cheers, raf