If you already have relayhost = [smtp.ionos.de]:submission or similiar you can put in the configuration in the file configured in postconf smtp_sasl_password_maps (/etc/postfix/sasl_passwd or similiar i guess)
firstname1@mydomain.ltd firstname1@mydomain.ltd:ownpassword1234
firstname2@mydomain.ltd firstname2@mydomain.ltd:ownpassword1234
firstname3@mydomain.ltd firstname3@mydomain.ltd:ownpassword1234
firstname4@mydomain.ltd firstname4@mydomain.ltd:ownpassword1234
if you have multiple domains you can set individual servernames for each domain with e.g. postconf sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay and put something like this in it
domain1.tld [smtp.ionos.de]:submission
domain2.tld [smtp.1und1.de]:submission
that way you can use the default relayhost and anything configured in the sender_dependent_relayhost_maps will be looked up and used accordingly.
I just looked that up on an old kopano host but i think that was all that has to be done in general.