[Rspamd-Users] Email throttling per recipient address

Winkelmann, Bun-Jan bun-jan.winkelmann at uni-hamburg.de
Mon Sep 29 08:50:37 UTC 2025


Hello,

 

I want to count recipient address for email throttling. I use following
bucket in local.d/ratelimit.conf

 

rates {

  from = {

    # smtp-from (envelope)

    selector = 'from:addr';

      bucket = [

        {

          symbol = RATELIMIT_FROM_HOUR;

          skip_recipients = false;

          burst = 100;

          rate = "100 / 1h";

        },

 

Unfortunately, I could send 100 mails with 50 recipients address instead of
sending two emails.

 

Another bucket I use for testing work for me

        {

          symbol = RATELIMIT_FROM_MINUTE_TEST;

          skip_recipients = false;

          burst = 3;

          rate = "2 / 2min";

        },

With this bucket I could not send an email with more than three recipients,
and also I can't send two emails with two recipients addresses

 

Have anyone an idee what I missed?

 

Kind Regards
Bun-Jan

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7231 bytes
Desc: not available
URL: <https://lists.rspamd.com/pipermail/users/attachments/20250929/7c3af59e/attachment.bin>


More information about the Users mailing list