Forum Discussion
Auto Forwarding to External Emails Not Working with Exception Added to Allow It
We have a shared mailbox that we need to setup auto fowarding so these emails can hit another application that uses an external email address. The emails only forward when using an internal email address and not an external email address.
We do have an existing Exchange Rule set to block forwarding to external email address, so I added an exception to the rule for Sent to and this email address. The emails are still failing to get forwarded.
Except if
Reason: [{LED=250 2.1.5 RESOLVER.MSGTYPE.AF; handled AutoForward addressed to external recipient};{MSG=};{FQDN=};{IP=};{LRT=}]
- Hm, seems I overlooked/misread the drop message above - this is caused by the Remote domain settings, not the Outbound policy controls. Check the Default remote domain settings, or better yet, create a separate object:
New-RemoteDomain blabla -DomainName blabla.com
Set-RemoteDomain blabla -AutoForwardEnabled $false
8 Replies
- BardiCopper Contributor
This fixed the issue. Thank you Vasil.
Additionally, use: Get-RemoteDomain | Select Name, DomainName, AutoForwardEnabled
to display the remote domain settings on powershell. - You don't need to toggle it globally, simply create a new policy targeted to the mailbox in question and toggle it therein.
- luvsqlIron Contributor
I disabled my Exchange Rule completely, that is set to block forwarding to external emails, and email forwarding still failed with the same error so it is not this policy causing the issue.
If it's not exchange, how are we to find what's blocking this if the error doesn't tell us? In Defender > Policies and Rules >Threat Policies > Anti Spam, if I create a new Outbound there is nothing about internal or external forwarding. Only external forwarding fails. Also, the "Sender" is not possible to choose as a user since the mailbox is a shared mailbox, all forwarded emails show the sender as the original sender which is different for every email.I also changed the global policy to On and still all emails forwarded externally fail with the same error.
- Hm, seems I overlooked/misread the drop message above - this is caused by the Remote domain settings, not the Outbound policy controls. Check the Default remote domain settings, or better yet, create a separate object:
New-RemoteDomain blabla -DomainName blabla.com
Set-RemoteDomain blabla -AutoForwardEnabled $false