question

RisingFlight-7863 avatar image
0 Votes"
RisingFlight-7863 asked KyleXu-MSFT answered

Autoreply Outlook Rule

Hi All

i am using exchange 2016 hybrid environment, i have an onprem DL(d1l@contoso.com) and i want to setup autoreply for it for external and internal senders. So i have created remote shared mailbox from onprem(shared1@contoso.com) and i have added it to the DL.

For the DL i have set SendOofMessageToOriginatorEnabled to $true

Set-DistributionGroup dl1@contoso.com -SendOofMessageToOriginatorEnabled $true

if i create an outlook rule will it work?
for internal senders will the below outlook rule work for me, how do i setup for external senders.
Apply rule on messages i receive
with specific words in the message header
X-MS-Exchange-Organization-AuthAs: Internal
have server reply using a specfic meesage.

office-exchange-server-administrationoffice-exchange-online-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.

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered

@RisingFlight-7863

Yes, you could use it. You can also use "X-MS-Exchange-CrossTenant-FromEntityHeader: Internet" to filter the external sender.


If the response is helpful, please click "Accept Answer" and upvote it.
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.

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.

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered

@RisingFlight-7863

Distribution group doesn't supported OOF. You need to enable OOF for distribution group member.

If you don't want to enable OOF for all group members, you could add an additional mailbox to this group, then enable OOF for this mailbox. (In the OOF message, tell recipient this mailbox used to send OOF for other group members)


If the response is helpful, please click "Accept Answer" and upvote it.
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.

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.

RisingFlight-7863 avatar image
0 Votes"
RisingFlight-7863 answered

i want to setup autoreply for the DL and so i have added shared mailbox to the DL.

for the DL i have used this syntax. Set-DistributionGroup dl1@contoso.com -SendOofMessageToOriginatorEnabled $true

Now i want to setup autoreply to this shared mailbox, anyone who triggers emails to the dL, this sharedmailbox should trigger autoreply

for internal senders will the below outlook rule work for me, how do i setup for external senders.
Apply rule on messages i receive
with specific words in the message header
X-MS-Exchange-Organization-AuthAs: Internal
have server reply using a specfic meesage.

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.

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered

@RisingFlight-7863

You cannot configure OOF for this shared mailbox from EMS. You need to add your mailbox to the Full Access list of this shared mailbox, then open this shared mailbox from OWA and configure OOF for this shared mailbox.


If the response is helpful, please click "Accept Answer" and upvote it.
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.

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.

RisingFlight-7863 avatar image
0 Votes"
RisingFlight-7863 answered RisingFlight-7863 edited

Kyle
you did not get me i want to set Autorely for the DL. So i have created a shared mailbox and i have made it a member of the DL. and for the DL i have used the below syntax. Set-DistributionGroup dl1@contoso.com -SendOofMessageToOriginatorEnabled $true
Now i want to set the outlook rule since autoreply on the shared mailbox will not work when added to the dL.

i was also referring the below article
https://support.microsoft.com/en-us/office/use-rules-to-create-an-out-of-office-message-9f124e4a-749e-4288-a266-2d009686b403?ui=en-US&rs=en-US&ad=US

if i create a below outlook rule for the shared mailbox it will work for internal senders not sure for the external senders(X-MS-Exchange-Organization-AuthAs: Anonymous will work?)

Apply rule on messages i receive
with specific words in the message header
X-MS-Exchange-Organization-AuthAs: Internal
have server reply using a specific message.

For External Senders will the below work?
X-MS-Exchange-Organization-AuthAs: Anonymous

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.