question

BashCZ avatar image
0 Votes"
BashCZ asked saldana-msft edited

Outlook OOF rule forward dont work as expected

Hello,
I am member of distribution group (testgroup@domain.com), my email adress is personA@domain.com

Im setting OOF rule, which will forward all messages to personB@domain.com

When people (inside organization) send email to testgroup@domain.com, the message will appear only in my mailbox personA@domain.com (OOF rule doesnt work at all, no mailboxrule event in messagetrackinglog appear).

When people send email to personA@domain.com, message will appear in personB@domain.com, but also in my PersonA@domain.com. I expected the rule will forward message to personB@domain.com and dont copy message to my mailbox as well.

Rule description: only Forward is checked, other fields are empty.
Server: Exchange 2016 CU17, mailboxes are on-prem. Hybrid configuration deployed.
Is this normal behavior?

office-outlook-itprooffice-exchange-server-mailflow
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BashCZ avatar image
0 Votes"
BashCZ answered LucasLiu-MSFT commented

Hi,
ok.. this is normal behavior, but there is no need teach users to use inbox rules instead of OOF rules.

According to documentation, there is switch -SendOofMessageToOriginatorEnabled

The SendOofMessageToOriginatorEnabled parameter specifies how to handle out of office (OOF) messages for members of the group. Valid values are:
$true: When messages are sent to the group, OOF messages for any of the group members are sent to the message sender.
$false: When messages are sent to the group, OOF messages for any of the group members aren't sent to the message sender. This is the default value.

I changed it to $true, and OOF forwarding rule started to work.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @BashCZ ,
Thank you for sharing your solution, which will help more users who have the same problem.

0 Votes 0 ·
LucasLiu-MSFT avatar image
0 Votes"
LucasLiu-MSFT answered LucasLiu-MSFT edited

Hi BashCZ,
Thank you for sharing your solution, which will help more users who have the same problem.
According to the test results in the lab, we could run the following command line to make when messages are sent to the group, OOF messages for any of the group members are sent to the message sender.

 Set-DistributionGroup -Identity <> -SendOofMessageToOriginatorEnabled $true

For more information: Set-DistributionGroup

We also could create a inbox rule to forward all message received by personA@domain.com to personB@domain.com, you could following the steps to create a inbox rule in personA's Outlook.
1. Open the Outlook -> Click the File -> Click the Manage Rules & Alerts.
2. Click the New Rule…, select the “Apply rule on messages I receive”.
3. Directly click the “Next” in Select condition(s) page and click “Yes” in warning popup.
21824-33333.png
4. Select the “Forward it to people or public group” and set to personB@domain.com, then select the “delete it ”.
21834-444444.png
5. Finally we could click the “Finish” and apply this inbox rule when you needed. Then all messages received by this mailbox will be deleted and forwarded to personB@domain.com.





If the response is helpful, please click "Accept Answer" and upvote it.



22222.png (13.2 KiB)
33333.png (21.6 KiB)
444444.png (20.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

BashCZ avatar image
0 Votes"
BashCZ answered

Hi LucasLiu,
thank you for your response.

Your solution (create rule via Inbox rules instead of OOF forwarding rule) is like a workaround for me. I couldnt find any reliable resource, that this is a normal behavior.

The transport service should always fire up MAILBOXRULE event, when forwarding rule is set via Inbox rule or via OOF rule. Its still forwarding. Inbox rule forwards message when its sent to distribution group, why not OOF rule?

I already made some workarounds in the past when something didnt work as expected and these workaround was even confirmed by Microsoft.. and I couldnt say it was by design.

Unless I find an official document describing, that forward rule on OOF doesnt forward messages sent to distribution list where I am member of, I cannot accept your statement "this is by design".

Regards

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.