Re: [exim] Very odd exim ratelimit problems

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Russell Jones
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Very odd exim ratelimit problems

I really couldn't tell you. This is a standard Exim / Dovecot setup
using Thunderbird, and in the Outgoing mail server section on
Thunderbird
"Use username and password" is checked for both machines, so they are
authenticating.
However, I was testing this sending mail internally, IE, sending mail
from [1]bob@??? to [2]steve@???, and both
accounts reside on the server.

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'm afraid I do not know enough about Exim to know what I would be
looking for there. I had read about that in the documentation (trust
me, I poured over the documentation), and I *thought* I had it in the
correct place when testing that, mainly because it didn't complain,
but I could be wrong. What would I be looking for to find the
authenticated condition to make sure I have that in the correct place?
Thanks for your help!
Tony Finch wrote:

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=[3]<bob@???> temporarily rejected RCPT
[4]<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.

References

1. mailto:bob@eggycrew.com
2. mailto:steve@eggycrew.com
3. mailto:bob@eggycrew.com
4. mailto:dd444d@gmail.com