prevent that a mail disclaimer rule is added to mail send from internal domainname by external servers

van Daalen 41 Reputation points
2023-11-29T09:14:59.3533333+00:00

Hello,

We are testing with a mail disclaimer to be added to e-mails originating from outside of the company. This is working great.

However we have a number of external services that send email on behalf of our domain name to internal people where the disclaimer is shown. I would like to prevent this. Is it correct when I say that I actually have to add the IP addresses of my SPF record (the mailserver allowed to send email from my domain) in the line.

"Except if the sender ip is"

If i do this will the disclaimer no longer be added to this type of e-mails?

Thanks!

Microsoft Exchange Online
Outlook
Outlook
A family of Microsoft email and calendar products.
3,411 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,377 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 100.1K Reputation points MVP
    2023-11-29T09:23:48.7433333+00:00

    Start by telling us how you are adding the disclaimer? If it's via mail flow rules, simply add an exception to the rule based on the sender's IP address, email address, or even "keywords" in the subject. If you are using the built-in "external in Outlook" feature, you can define an Allow list as detailed here: https://learn.microsoft.com/en-us/powershell/module/exchange/set-externalinoutlook?view=exchange-ps


0 additional answers

Sort by: Most helpful