I am attempting to setup ratelimit based on recipient. I am unable to
limit the number of emails sent to a specific recipient. This is the
configuration I am using
(/etc/exim4/conf.d/acl/10_exim4-config_smtp_rcpt):

acl_smtp_rcpt:

defer
  ratelimit = 2 / 1h / $recipients
  message = Rate limit exceeded for $recipients $sender_rate/$sender_rate_period
  recipients [email protected]
  log_message = Ratelimit: $recipients rate limit / $sender_rate_period DEFFERED

This is the email command I am using on the localhost of the exim server:
mailx -S smtp=172.18.1.35 -r [email protected] -s Test -v
[email protected] < body.txt

Let me know if you have any thoughts or suggestions.

Rich

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to