Actually I am using a Split Delivery scenario where for my domain first email will reach to Microsoft and using mail flow and connector, I am routing emails to my mailcow server.
If an account will exist on Microsoft it will send email to the account, if not then it will send the email to mailcow server. All external emails are working fine at the moment but don’t know why gmail, yahoo are getting rejected.