Re: help with how to drop connection on syntax error

Cyborg via Exim-users <[email protected]> Wed, 1 Jul 2026 10:59:11 +0200
Newsgroups gmane.mail.exim.user
Message-ID <[email protected]>
Am 01.07.26 um 01:47 schrieb v via Exim-users:
> Hi.
> I was hoping someone here could help me with this.  How can I make exim DROP the connection faster, in response to being dos flooded with gibberish.  How, and where, can I make it DROP on first syntax error, instead of it sending back countless "500 unrecognized command" or "501 NUL characters are not allowed in SMTP commands" and what not, then sitting there witting for smtp_receive_timeout.
> Thanks.
>
>
Easy:

smtp_max_synprot_errors = 0

One false HELO etc. and they are gone.

Best regards,
Cyborg

-- 
## subscription configuration (requires account):
##   https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
##   [email protected]
## Exim details at https://www.exim.org/
## Please use the Wiki with this list - https://code.exim.org/exim/wiki/wiki