[exim] Re: heads-up: some spam bots started RCPT flooding

Top Page
Delete this message
Reply to this message
Author: Markus Reschke
Date:  
To: Jeremy Harris via Exim-users
Subject: [exim] Re: heads-up: some spam bots started RCPT flooding
On Sun, 14 May 2023, Jeremy Harris via Exim-users wrote:

Hi!

> On 14/05/2023 18:56, Markus Reschke via Exim-users wrote:
>> They take a list of common user names, add your domain name, and then loop
>> through 100 RCPT TOs per mail.


> An escalating delay per RCPT *reject* isn't hard.


I was able to keep each spambot's connection about 6 hours open. >:) The
drawback is that you run the same amount of exim processes all that time.
So I moved to a simple ACL rule to drop the connection when the first x
recipients are rejected:

drop  message = Too many bad recipients
       condition = ${if and 
{{>{$rcpt_count}{5}}{=={$recipients_count}{0}}}{yes}{no}}


ciao
  Markus
-- 
/ Markus Reschke              \
\ madires@??? /



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