Hi!
I am running Postfix and I have set this SPF record in my DNS hosting in "domain.com":
"v=spf1 include:<public_ip> ~all"
Where "public_ip" is my public IP.
I am running Postfix from inside a VM with its own internal IP.
The command issued is:
echo "Message body" | mail -s "Subject"...