Email messages redirected from one mailbox to another mailbox through an Inbox rule are marked as SPAM
Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise. For more information about this change, read this blog post.
Original KB number: 4490155
In Exchange Online, some email messages that are redirected from one mailbox to another mailbox through an Inbox rule are marked as SPAM. Then, these messages are either moved to the Junk folder or to a hosted quarantine.
Additionally, when you try to see a result through a message trace, you notice a status setting of FilteredAsSpam. Also, in the message header information, you may notice that Spam Filtering Verdict (SFV) indicates non-spam, but the Spam Confidence Level (SCL) is set to 9.
This issue occurs for one of the following reasons:
- The advanced spam filtering (ASF) option of SPF record: hard fail is enabled within the default policy that's applied to all the recipients.
- You have the SPF record: hard fail option enabled within the SPAM filter policy that's applied to the recipient.
If mail is redirected through an Inbox rule, the mail from SMTP address changes to the primary SMTP address of the user who has the redirect Inbox rule. Then, the SPF check is run against the mail from domain suffix. The IP address that's used for the check is the IP address of the original sender.
To resolve this issue, use one of the following options, as appropriate for your situation.
Disable SPF record: hard fail under the ASF options.
If all the email messages are redirected through an Inbox rule, you can disable this rule and enable forwarding at the mailbox level. To do this, run the following cmdlet:
Set-Mailbox -identityUserA@domain.com-ForwardingAddress 'UserB#39; -DeliverToMailboxAndForward $false
You can create a new SPAM filter policy that has the same settings as those in the policy in which the ASF option of SPF record: hard fail is enabled. To do this, you have to make sure that the ASF option of SPF record: hard fail is disabled in the new policy. Then, you can associate the policy to the user who is experiencing the issue.
- In the Exchange admin center, locate Protection > spam filter.
- Click the plus sign (+) icon to create a new policy, and then specify the details for the policy.
- Make sure that the ASF option of SPF record: hard fail is left disabled.
- In the Applied To section, add the recipient who is experiencing the issue.