]> source.dussan.org Git - rspamd.git/commit
fix: avoid double-dip of nrcpt when calculating ratelimit condition 4448/head
authorAndreas Simbuerger <simbuerg@fim.uni-passau.de>
Wed, 29 Mar 2023 16:08:57 +0000 (18:08 +0200)
committerAndreas Simbuerger <simbuerg@fim.uni-passau.de>
Wed, 29 Mar 2023 16:08:57 +0000 (18:08 +0200)
commit092940ed5bf515c1176f1315b047ac1a76ae6733
tree78f951996ae74be59aabc2744729bd7539333f79
parent415d7637aa80efa6f89bb148eabe1d79ea3c6391
fix: avoid double-dip of nrcpt when calculating ratelimit condition

Before this commit, rspamd would consider the number of recipients of
the current message twice when calculating the ratelimit condition.
lualib/redis_scripts/ratelimit_check.lua