Howto change exchange online journal mailboxses sender domain - SPF issue

Stefan Bauer 1 Reputation point


we use an external journal mailbox with a transport rule for all outgoing/incoming mails - setup in exchange admin center onilne.

However the SENDER address of all that mails is not configurable. It's something@tenant

As the SPF-policy for is strict (-all), problems arise if mail is forwarded, as it breaks SPF.

How can we set the real domain as sender address ( These domain is the primary mail domain, that is routed to exchange online.

Thank you.

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,160 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Lucas Liu-MSFT 6,161 Reputation points

    Hi @Stefan Bauer ,
    Beased on my knowledge and test, Journal mail is sent by the system mailbox on behalf of your Exchange online mailbox with the "SendonBehalf" permission. We could not change the this email address. And the address mailbox is a specific address.
    Please following the steps in this official atricle to create a safe sender lists for this specific email address, then try to send an test email and see if the journal email breaks SPF.
    Please refer to: Create safe sender lists in EOP

    Or change the SPF record and add the domain of the address that sends the journal mail to the SPF record.
    Please refer to: Form your SPF TXT record for Microsoft 365


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

  2. Cheong00 3,471 Reputation points

    Check what SPF is again. The TXT record is to be added to DNS of, not

    When adding the TXT record, the content should look something like this for Exchange Online.

    v=spf1 -all