Internal E-Mails landing in Exchange 365 mailbox instead of external mailbox

Timm Beckmann 21 Reputation points
2022-10-08T19:54:03.933+00:00

Hi,

we have the following problem.

We have installed a domain example.com with the InternalRelay setting, because we want to use an external hosters mailboxes. Strato.de

For a certain user, when an internal user sends a mail from usera@ssss .com to the user userb@ssss .com, the mails are landing in the exchange 365 mailbox instead of the Strato mailbox.
External emails are correctly landing in the Strato mailbox.

For Strato we have set the Mailsettings to:
No SPF rules
"v=spf1 include:spf.protection.outlook.com redirect=_spf.strato.com"

EDIT:
The MX Record on Strato is set to the Strato Mailserver.
smtpin.rzone.de 81.1xx.1xx.9x
smtpin.rzone.de 2axx:2x:x2xx:2xx:5xx0::1097

I added the domain in the 365 admin center, set most DNS settings as advised and got it in.
There are no other configurations that I know of or can see, aside from the "Internal Relay" setting that I used in the Exchange Admin panel.
Two DNS settings are different, than what microsoft wants me to have:
TXT expected
v=spf1 include:spf.protection.outlook.com -all
vs what I have
v=spf1 include:spf.protection.outlook.com redirect=_spf.strato.com

MS expected
example-com0e.mail.protection.outlook.com
vs what I have
smtpin.rzone.de

We have no connectors of any kind defined right now.

EDIT2:
For now, we have made a forward from Strato to the exchange mailbox via the onmicrosoft alias and the users now uses the exchange mailbox instead.
However that's only a current fix, until we know how to get it to work via the Strato mailbox.

Which additional information do you need?
Which settings could we search for, that could explain this behaviour?

Greetings
Timm

Exchange | Exchange Server | Management
{count} votes

Accepted answer
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2022-10-25T10:06:05.697+00:00

    Hi @Timm Beckmann ,
    Sorry for the late reply. I have revisited the information you provided and rearranged my thoughts.

    Currently, all users have mailboxes in the Exchange online environment and Strato mail server, using the same domain name and the same email address.
    However, some users need to use a mailbox on the Strato to receive mails from Exchange online.
    The problem now is that mailboxes on Exchange can't send messages to mailboxes that have the same name on external server.
    According to the description of the internal relay type of the accepted domain in the exchange.

    Email is delivered to known recipients in Office 365 or is relayed to your own email server if the recipients aren't known to Microsoft 365 or Office 365.
    253779-2022-10-25.png
    Please try to create a mailbox without duplicate names on an external Mailbox server and send test mail from Exchange to this mailbox to see if it works.
    If it can be successfully sent to the external mailbox, I would suggest that you could change the email address that need to use to the external server to a different address than exchange internal. Then, create automatic forwarding to the mailbox on the external server.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2022-10-11T07:37:46.983+00:00

    Hi @Timm Beckmann ,
    Can you tell us how did you configure Mx record and your accept domain?
    Did you create a connector to relay emails to your own Strato server?
    249274-2022-10-11-1.png
    Please refer to the following links to configurate your accept domain and connector to see if it works:
    Manage accepted domains in Exchange Online | Microsoft Learn
    Set up connectors to route mail between Microsoft 365 or Office 365 and your own email servers | Microsoft Learn


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.