Re: [exim] Very odd exim ratelimit problems

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Russell Jones
Υ/ο: exim-users
Αντικείμενο: Re: [exim] Very odd exim ratelimit problems
On Sat, 5 Apr 2008, Russell Jones wrote:

>    ratelimit = 3 / 1h / per_rcpt / $authenticated_id
>    The problem? If Computer A sends 4 messages (or a message with 4
>    recipients) and gets rate limited, Computer B, that is very far away,
>    has a separate email account all together, and a different IP address,
>    also gets rate limited! Computer B cannot send an email at all.


Have you checked the "authenticated" condition before the "ratelimit"
condition? If not, $authenticated_id won't be set, and the limit will
apply to the whole MTA regardless of the client.

>    I have tried with and without the $authenticated_id key. It doesn't
>    seem to make a difference.
>    2008-04-04 23:55:28 H=localhost ([192.168.1.7]) [127.0.0.1]
>    F=<bob@???> temporarily rejected RCPT
>    <dd444d@???>:


This is very strange. Why are your client connections apparently coming
from localhost? That would explain why removing the $authenticated_id
lookup key (leaving the default $sender_host_address) doesn't change
anything, because the client IP address has been rewritten before Exim
gets to see it.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}