I have to limit the number the emails sent from 1 sender to 1 recipient doesn't matter of domain. For this purpose I to use postfwd.
id=RATE01 ; action=rate(sender/5/300/450 4.7.1 sorry, max 5 requests per 5 minutes)
This will limit senderA@ to send 5 emails for 5min totally for all recipients.
id=RATE02 ; action=rate(recipient/5/300/450 4.7.1 sorry, max 5 requests per 5 minutes)
This will limit recipientB@ to get 5 emails for 5min from all senders
The question is how I can define limitation based on sender to recipient. Something like senderA can send 5 email to every user on my domain.