Re: [exim] Ratelimit Messages

Pàgina inicial
Delete this message
Reply to this message
Autor: Renaud Allard
Data:  
A: Matt
CC: exim-users
Assumpte: Re: [exim] Ratelimit Messages


Matt wrote:
> I have this to rate limit messages:
>
> warn ratelimit = 100 / 1h / per_rcpt / strict
>         delay = 10s
>         log_message = Sender $sender_address rate $sender_rate /
> $sender_rate_period excedes limit delayed 10 seconds

>
> Problem is when a user is using Squirrelmail there IP is always listed
> as 127.0.0.1. I do not think there is any good solution to that
> really though. Is there a way to have one rule thats for users that
> are NOT 127.0.0.1 and another for users that are 127.0.0.1? If so how
> do you do that?
>


Just add:
!hosts = 127.0.0.1/8 :

after the warn.