0

I'm currently using the Hybrid Exchange Online and Exchange Server OnPremise setup.

I have included the IP addresses of all my Exchange Servers in the below TXT record, I wonder if it is really necessary to prevent email flow issues?

v=spf1 a mx ptr ip4:69.64.152.23 ip4:69.64.152.123 ip4:52.13.23.26 ip4:54.68.180.96 ip4:52.116.76.27 include:_spf.psm.knowbe4.com include:_spf.google.com include:servers.mcsv.net include:mail.zendesk.com -all

As I need to enter additional SPF record entries without breaking the 10 Lookup maximum. Some of them include: above has recursive search, hence the result from https://dmarcly.com/tools/spf-record-checker already showing 10 DNS queries.

enter image description here

6
  • 1
    Is it a duplicate of serverfault.com/q/1106001/256639 ? I didnt used my hammer to close as dupe, but please explain me why it's not a dupe.
    – yagmoth555
    Commented Jul 27, 2022 at 1:56
  • No, it is not, I am just asking, whether the Public IP address for my Exchange Servers ar required or not in the SPF record before I remove it? Commented Jul 27, 2022 at 2:53
  • 1
    Do all of your Exchange servers send outbound email directly? If so, then yes they need to be in your SPF record.
    – joeqwerty
    Commented Jul 27, 2022 at 3:01
  • 1
    Do the other entities in your SPF record send email on behalf of your domain(s)?
    – joeqwerty
    Commented Jul 27, 2022 at 3:02
  • @joeqwerty, I assume yes, since the document docs.microsoft.com/en-us/exchange/… shows the Outbound send connector sends something to Office 365. Commented Jul 27, 2022 at 4:36

1 Answer 1

1

It seems your issue has been solved in below link. https://docs.microsoft.com/en-us/answers/questions/943454/publishing-the-exchange-server-public-ip-address-i.html

**RafaelDaRocha:

In a hybrid exchange deployment, messages from on-prem mailboxes are delivered directly by the on-prem servers, so yes, they have to be present in the spf record**

Addition info: https://docs.microsoft.com/en-us/exchange/transport-routing#outbound-messages-to-the-internet

Please do not forget to mark the helpful replies as answers, this will make answer searching in the forum easier and be beneficial to other community members as well. Thanks!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .