Re: [exim] Very odd exim ratelimit problems

Top Pagina
Delete this message
Reply to this message
Auteur: Russell Jones
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Very odd exim ratelimit problems

I thought I might have understood what you were talking about, so I
placed the "begin authentication" section above the "begin acl"
section and it hasn't made a difference.
I am running SpamAssassin with spamd, and clamav, do you think any one
of those could be the culprit for re-writing the IP address?
If something is re-writing the IP address, why is it still showing the
internal lan IP address of the connecting computer? (192.168.1.2 ,
192.168.1.7 respectively)
Here is my entire exim configuration, I have it posted up as well as
comments on relevant areas. Any help at all in solving this is greatly
appreciated! Thank you!
[1]http://www.webhostingtalk.com/showthread.php?t=684181
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=[2]<bob@???> temporarily rejected RCPT
[3]<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. http://www.webhostingtalk.com/showthread.php?t=684181
2. mailto:bob@eggycrew.com
3. mailto:dd444d@gmail.com