Hi, I'm still in my first month as Linoder, and loving it so far, but I have one issue that I haven't been able to figure out.
I have several domains running on my single Linode, and I bought an extra IP address to run one specific domain on. Everything is set up fine using the Linode DNS server, including the reverse DNS. So I have:
Domain A on xx.xx.xx.xx
Domain B on yy.yy.yy.yy
Domain C on yy.yy.yy.yy
and
xx.xx.xx.xx maps back to Domain A
yy.yy.yy.yy maps back to Domain B
I am running Wordpress blogs on all three domains (yy.yy.yy.yy) and have configured them to email me via SMTP and Google Apps whenever a new comment is added.
The problem is that the Google see the emails as all coming from the same IP address (xx.xx.xx.xx) even if they are being sent from domains B and C.
What's even more puzzling is that the "Received-SPF" line in the emails contains the "members.linode.com" domain name for the
other IP address (yy.yy.yy.yy)!
Like this:
Code:
Received-SPF: pass (google.com: domain of www-data@liyyy-yy.members.linode.com designates xx.xx.xx.xx as permitted sender) client-ip=xx.xx.xx.xx;
I just checked emails from all three domains, and this line in all of them (on both IP addresses) is exactly the same.
So what's happening here? I believe WordPress uses PHP's mail() API under the covers, so is there a way to configure it to use the correct IP address when sending mail, or is this something on the Linode end?
What I really want is complete separation of the blogs on the different IP addresses. It all seems to be working fine when using ping and tracert, so why is Google getting cross-linked information when I send emails to my Google apps mail server?