Re: [exim] Ratelimit Spam

Góra strony
Delete this message
Reply to this message
Autor: Matt
Data:  
Dla: exim-users
Temat: Re: [exim] Ratelimit Spam
> > # Slow down fast senders; note the need to truncate $sender_rate
> > # at the decimal point.
> > warn ratelimit = 100 / 1h / per_rcpt / strict
> >         delay     = ${eval: ${sg{$sender_rate}{[.].*}{}} - $sender_rate_limit }s

> >
> > Is there a way I can get it to add meaning full log entries so I can
> > tell when it kicks in and what its doing?
>
> Sure; it's a matter of knowing what Exim calls what you're looking for.
>


I imagine something like this would work?

# Slow down fast senders; note the need to truncate $sender_rate
# at the decimal point.
warn ratelimit = 100 / 1h / per_rcpt / strict
        delay = ${eval: ${sg{$sender_rate}{[.].*}{}} - $sender_rate_limit }s
        log_message = Sender rate $sender_rate excedes limit, delayed


Is there a way to include the number of seconds delayed in each log entry?

Matt