Forum Discussion
AutoForwardEnabled for specific user / mailbox
- Nov 21, 2023
Okay, found it!
I have created a new RemoteDomain with feature AutoForwardEnabled = $true and I have created a transport rule to disallow Auto-Forward for all user execpt those who are allowed to.
Thank you so much!
Hi awato88,
in an on-premises environment, you can still configure the AutoForwardEnabled feature for specific users or mailboxes.
Here are the steps you can follow:
1. Create a new Remote Domain:
You can create a new RemoteDomain with the AutoForwardEnabled feature enabled. This can be done using the New-RemoteDomain command.
2. Set AutoForwardEnabled to True:
After creating the new RemoteDomain, you can enable the AutoForwardEnabled feature using the Set-RemoteDomain command.
3. Allow Email Forwarding for Individual Users:
You can allow email forwarding for individual users by using the Set-Mailbox command with the -ForwardingAddress parameter. This will enable forwarding to a specific address.
Here are some more useful links:
Get-RemoteDomain and AutoReplyEnabled, AutoForwardenabled options - Microsoft Q&A
New-RemoteDomain (ExchangePowerShell) | Microsoft Learn
Set-RemoteDomain (ExchangePowerShell) | Microsoft Learn
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.
If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)
thank you so much for your reply!
I think we are on the right track. However, it's not quite what I want yet.
If I create another RemoteDomain and set AutoForwardEnabled to activated, then this applies to the entire organization, correct?
This means that anyone can automatically forward emails to the domain specified in the new remote domain, right?
I want only certain users/mailboxes to be able to use this feature.
Now I thought that I would set "AutoForwardEnabled" to §true in the "Default" RemoteDomain and use the TransportRule to prohibit all users from forwarding except for those who should.
But unfortunately I'm missing the option "The message type is..." -> Auto-forward in the conditions of the Trapsport rules.
How can I make it so that I can only allow certain users and not everyone?
- awato88Nov 21, 2023Copper Contributor
Okay, found it!
I have created a new RemoteDomain with feature AutoForwardEnabled = $true and I have created a transport rule to disallow Auto-Forward for all user execpt those who are allowed to.
Thank you so much!