When Office 365 relays email to my On Premise server, the On Premise server rejects some email as spam, because the Office 365 server is not in the SPF record of the external organization that sent the record.
The organization I work for is about to move to Office 365 from our Exchange 2010 On Premise service. I am also moving mailboxes from one Exchange 2010 server to another as the previous server is currently running on is Server 2008R2 and on old hardware we want to retire. Because of this I have 2 Exchange 2010 servers with mailboxes split between the two as I move. All email originating from outside the organization's network comes through an Exchange 2010 Edge server.
All mail to and from external addresses goes through Office 365.
I need to know how to set up the connectors on my On Premise servers so that my On Premise server will only accept email from Office 365, so that I can turn of the spam filter that is rejecting valid emails.