rate limits

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

rate limits

Terry
Hi I just wanted to check if I want to rate limit and block
authenticated senders with a run away virus can I just pop this in

acl_check_rcpt:
# Keep authenticated users under control
deny authenticated = *
        ratelimit = 100 / 1d / strict / $authenticated_id
        log_message = Sender $sender_address Emails sent  $sender_rate
Your limit is Per day is $sender_rate_limit


I did test it on a standard exim install and seemed to work fine.
Pretty much straight off the exim manual or does exim4u all ready have
some thing in place for this ?


Thanks
Terry


_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: rate limits

gldickens3
Administrator
That looks like it will work just fine.  As an fyi, you can also use
fail2ban to ratelimit exim and IMAP authentication attempts which then,
in turn, uses your iptables firewall to block the offending IP address
while it is ratelimited.

Gordon


On 04/14/2014 03:58 AM, Terry wrote:

> Hi I just wanted to check if I want to rate limit and block
> authenticated senders with a run away virus can I just pop this in
>
> acl_check_rcpt:
> # Keep authenticated users under control
> deny authenticated = *
>          ratelimit = 100 / 1d / strict / $authenticated_id
>          log_message = Sender $sender_address Emails sent  $sender_rate
> Your limit is Per day is $sender_rate_limit
>
>
> I did test it on a standard exim install and seemed to work fine.
> Pretty much straight off the exim manual or does exim4u all ready have
> some thing in place for this ?
>
>
> Thanks
> Terry
>
>
> _______________________________________________
> users mailing list
> [hidden email]
> https://exim4u.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users