In mailchimp i am sending from my gmail account via mailchimp gateway, and the email is signed both spf and dkim. But i have my own smtp gateway, and when i send from a gmail or another email account via myserver.com only the spf is applied?
Ps: dkim is also applied but only if my send from email is on the same domain as the sending domain.
Any thoughts?
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of bounce-mc.us7_22204859.801345-EMAILADDRESS=gmail.com@mail71.atl51.rsgsv.net designates 205.201.135.71 as permitted sender) smtp.mail=bounce-mc.us7_22204859.801345-EMAILADDRESS=gmail.com@mail71.atl51.rsgsv.net;
dkim=pass header.i=@mail71.atl51.rsgsv.net
I see that you tagged php and phpmailer in your question. If you are using phpmailer - phpmailer supports DKIM signing, and you can use it to add a DKIM signature for a message sent from any domain (provided of course that a DKIM record has been created in the DNS for that domain). See Send mail in phpmailer using DKIM Keys for an example.