Custom rule for Out of Office (OFF) response

Georges Carraha 1 Reputation point
2022-01-26T20:25:27.91+00:00

Hi,

We have a problem getting a custom rule for an "Out of Office" (OFF) response to work as expected for an Exchange server 2013.

For the user we created the rule as follows:

Apply this rule after the message arrives
have server reply using <subject>
except if the subject contains 'reply' or 'failed' or 'undeliverable'

The rule works for senders within the domain but not for external senders. We have configured the Exchange to allow sending automatic forwards and automatic replies to the Internet.

If we run the command "Get-RemoteDomain Default | fl AllowedOOFType, AutoReplyEnabled, AutoForwardEnabled" we get the result

AllowedOOFType : External
AutoReplyEnabled : True
AutoForwardEnabled : True

Any idea what could be causing the rule not to work for external emails?

Regards,

Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,072 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,503 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Georges Carraha 1 Reputation point
    2022-01-27T14:55:23.373+00:00

    Hi,

    I ran the following command:

    Get-MessageTrackingLog -ResultSize Unlimited -Start "1/27/2022 12:00AM" -End "1/27/2022 11:59PM" -Sender "<sender>" | Sort-Object MessageId | Format-Table EventId, Source, Sender, Recipients –AutoSize | out-string -Width 1000
    

    When someone inside the domain sends an email to the user, the custom rule generates the OFF response and the message tracking below. In this case the <sender> is the user for which the custom rule was set and the <recipient-internal> is the person who sent the email to the user:

    EventId        Source      Sender                 Recipients
    -------        ------      ------                 ----------
    RECEIVE        MAILBOXRULE <sender> <recipient-internal>
    DELIVER        STOREDRIVER <sender> <recipient-internal>
    HAREDIRECTFAIL SMTP        <sender> <recipient-internal>
    AGENTINFO      AGENT       <sender> <recipient-internal>
    RECEIVE        SMTP        <sender> <recipient-internal>
    SEND           SMTP        <sender> <recipient-internal>
    

    When someone outside the domain sends an email to the user, the OFF response generates the message tracking below:

    EventId        Source      Sender                 Recipients
    -------        ------      ------                 ----------
    AGENTINFO      AGENT       <sender> <recipient-external>
    RECEIVE        MAILBOXRULE <sender> <recipient-external>
    SEND           SMTP        <sender> <recipient-external>
    TRANSFER       ROUTING     <sender> <recipient-external>
    HAREDIRECTFAIL SMTP        <sender> <recipient-external>
    RECEIVE        SMTP        <sender> <recipient-external>
    

    Regards,