So I sent a test email to myself- google lets me know that the SPF failed in the "raw".

Although, my docker compose yml file is set to use another interface on my host:

Here is output of my networking using ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet ***.***.171.141 netmask 255.255.255.255 broadcast ***.***.171.141
inet6 *** prefixlen 64 scopeid 0x20<link>
inet6 *** prefixlen 64 scopeid 0x0<global>
ether *** txqueuelen 1000 (Ethernet)
RX packets 70014942 bytes 30920367324 (28.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 46620946 bytes 22712695429 (21.1 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet ***.***.182.99 netmask 255.255.255.255 broadcast ***.***.182.99
ether 96:00:00:2a:87:8f txqueuelen 1000 (Ethernet)
eth0:2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet ***.***.182.60 netmask 255.255.255.0 broadcast ***.***.182.60
ether 96:00:00:2a:87:8f txqueuelen 1000 (Ethernet)
As you can see, they are separate interfaces on the same host.
why does SPF fail? The DNS records for MX and resolves to the correct IP, so i am a bit stuck here.
So I sent a test email to myself- google lets me know that the SPF failed in the "raw".

Although, my docker compose yml file is set to use another interface on my host:

Here is output of my networking using
ifconfigAs you can see, they are separate interfaces on the same host.
why does SPF fail? The DNS records for MX and resolves to the correct IP, so i am a bit stuck here.