I send emails on behalf of customer1.net from mailer.mycompany.com. We also manage bouncebacks by setting the return-path on the envelope to setting it to bouncemgmt.mycompany.coom which in this case is the same server.
The SPF record for my customer is:
customer1.net IN TXT "v=spf1 a mx a:mailer.mycompany.com mx:bouncemgmt.mycompany.com ip4:126.96.36.199 ?all"
The header when sending a few emails from our application on behalf of our customer is:
Received-SPF: pass (google.com: domain of email@example.com designates 188.8.131.52 as permitted sender) client-ip=184.108.40.206;
And even though it said that it passes, it ends up in the outlook junk folder. Our main concern is that the actual SPF record is configured correctly.
We are using the following Website to configure it: openspf.org