Problem with SPF and Server's name

Savvas Lazarides 1 Reputation point
2022-02-07T09:34:16.127+00:00

We have a client who has an Exchange Server 2016.

The domain name of the server is xxxx.yyy.com whereas the mail domain name hosted on the server is yyy-kk.com.

We have set the SPF for yyy-kk which belongs to them to match their IP address and it works fine.

The problem they have is with one bank that is checking the SPF of the server's domain name which is yyy.com. yyy.com does not belong to the client and we have no access to their DNS. Is there a way we can change the server name they see when emails are send from their Exchange Server. Also why are they checking the SPF of the server's name and not only the SPF of the email domain name?

This is what I can see in the email header's when I send an email from this server.
Received: from xxxx.yyyy.com (xxxx.yyyy-kk.com [IP Address])

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,338 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 141.1K Reputation points MVP
    2022-02-07T12:58:11.537+00:00

    Yea they shouldnt care about the name of the server, otherwise no could send from Exchange Online either :)

    All that is needed is the SPF of xxxx.yyy.com contains the IP Addresses of the sending servers in yyy-kk.com and a PTR record exists in DNS for those sending servers.


  2. Andy David - MVP 141.1K Reputation points MVP
    2022-02-07T14:12:05.217+00:00

    SPF is checked against the Return-Path of the sender ( The MAIL FROM ). Is that set correctly?

    The return-path for these messages should be set to:
    yyyy-kk.com

    If it is, then they are checking things incorrectly
    If its not, then you need to fix that on your end.