Hello. I'm using exim to ratelimit local not_smtp messages in this acl:
acl_check_not_smtp:
deny ratelimit = 2000 / 1h / strict / $sender_ident
message = You can only send $sender_rate_limit per
$sender_rate_period
log_message = "RATE: $sender_rate/$sender_rate_period (max
$sender_rate_limit) $sender_ident"
To check this acl i wrote test case:
for x in `echo {1..2000}`;do echo test | /usr/sbin/sendmail -v
fg3758937453749573897539dlgdkfjgkldfjgkldjgkldjglkdjgkljfklgjdklgjdkljkgldjgldjgkljfdlfdgdfgdfgd@???; done
(address not exists - this is right).
After some time i get error says that my ratelimit exceded. 3680 of
2000. How can this do? May be exim counting bounces?
I'm not completely understand, why i can't send 2000 messages..
Please help me...
--
Vasiliy G Tolstov <v.tolstov@???>
Selfip.Ru