So i've been reading a lot about exim, however there are some variables which are showing an empty string on my server and therefore they are not working with my rate limit conditions.

For instance I have tried: $sender_host_address $domain

So here is my condition:

        deny message = Sender rate overlimit - $sender_rate / $sender_rate_period
        ratelimit = 300 / 1h / per_rcpt / leaky / $sender_address

However, this is just limiting outgoing emails to one single email address, so people can switch between accounts and send 300 emails per hour per each account, I'd like to limit that to 300 per domain. Any suggestions?


Try using sender_address_domain which should contain the domain portion of the sender address.

Expansion variables are listed in chapter 11 of the Exim Specification.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.