Policyd-rate-limit how to set limit outgoing mails for each individual sender domain

OK I have solved this problem.

Correct configuration is to pass a list of limits for each id:

limits:
   - [30, 600]
limits_by_id:
   [email protected]:
      - [5, 600]
   [email protected]:
      - [10, 600]