This is using MS Exchange in hybrid configuration. Some mailboxes are located in onprem while others on ms office365. We only configure spf - "v=spf1 include:spf.protection.outlook.com ?all".
Recently, we change the outgoing mails from onprem to be send directly from the onprem exchange server. We configured the mx record for the onprem exchange server. A user intend to send to recipient got the following spf error.
More Info for Email Admins |
Status code: 550 5.7.23 This error occurs when Sender Policy Framework (SPF) validation for the sender's domain fails. If you're the sender's email admin, make sure the SPF records for your domain at your domain registrar are set up correctly. Office 365 supports only one SPF record (a TXT record that defines SPF) for your domain. Include the following domain name: spf.protection.outlook.com. If you have a hybrid configuration (some mailboxes in the cloud, and some mailboxes on premises) or if you're an Exchange Online Protection standalone customer, add the outbound IP address of your on-premises servers to the TXT record. For more information and instructions about configuring SPF records see Customize an SPF record to validate outbound mail sent from your domain and also External Domain Name System records for Office 365. |
Original Message Details |
What shall we do with the spf error? shall we configure this spf record for onprem exchange server? is this possible?
Thanks,