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:2.3.4.5 ?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 protected] designates 2.3.4.5 as permitted sender) client-ip=2.3.4.5;
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