Forum Discussion
On-premise Exchange server does not relay emails to cloud-only distribution lists
- Jun 25, 2019
VasilMichevI had the same exact idea, but that would be management overhead that we can't handle.
I found a much easier solution actually. This won't work in every environment, but for us it was perfectly acceptable.
We set Exchange Online to be authoritative for our default domain and our on-premise server as an internal relay. Now the on-premise server just sends any email they don't recognize straight to Exchange Online, where the DLs reside.
You can create recipient objects for the cloud DGs and configure their targetaddress to point to the DG@tenant.onmicrosoft.com domain. You probably would need to exclude them from the DirSync scope to avoid issues with duplicate objects appearing in the O365 GAL as well as duplicate attribute errors.
VasilMichevI had the same exact idea, but that would be management overhead that we can't handle.
I found a much easier solution actually. This won't work in every environment, but for us it was perfectly acceptable.
We set Exchange Online to be authoritative for our default domain and our on-premise server as an internal relay. Now the on-premise server just sends any email they don't recognize straight to Exchange Online, where the DLs reside.
- abkab420Aug 24, 2023Copper Contributor
DanielNiccoli Did you need to re-run Hybrid wizard post changing domain type in onprem to internalrelay?
Did you have to change Outboundonly parameter too? or just domaintype was sufficient?
- DanielNiccoliAug 24, 2023Iron ContributorHi abkab420, thanks for your reply. I did not re-run the HCW and I do not remember if I had to set the outboundnonly parameter. Sorry, but that was just a long time ago 😄
- abkab420Aug 24, 2023Copper ContributorNo worries 🙂