[exim] Exim rate limit by receiver address

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Robin Williams
Dátum:  
Címzett: exim-users
Tárgy: [exim] Exim rate limit by receiver address
Hoping someone can shed some light.

I want to configure an ACL to rate limit incoming emails (from
localhost) on a per receiver address basis (so localhost can only send,
say, 5 emails to specificaddress@??? per day).

I believe I can achieve this with a 'ratelimit' acl, something like:

warn (*eventually will be deny)
ratelimit = 5 / 1d / per_rcpt / strict / $sender_address
log_message = SENDER RATE: $sender_rate

Am I correct in this assertion? When I've tried to apply this config to
my ACL file I'm not noticing anything being logged. Could this be
related to me sending from localhost rather than another host?

Thanks for any help anyone can offer,

Robin.




<mailto:exim-users@exim.org>