Allow specific accounts for sending mail

Hello greetings.

I make the following query:

How can I create a rule in exim4 so that only accounts created in each mail domain can send mail? That is, only [email protected], [email protected] [email protected] can send emails.

Thanks.