I have a CentOS Linode instance that I'm running as a LAMP stack. I'm also using Google Apps for email. I have my MX records pointing at google's servers and everything is working in terms of relaying my emails just fine.
However, sendmail on the box is not working correctly, which means that emails from PHP (wordpress) are not being delivered.
Looking at the local mail I can see these messages repeated in the logs -
----- Transcript of session follows ----- <my email addr>... Deferred: Connection refused by aspmx.l.google.com.
I have no experience configuring sendmail - can anyone tell me where to start in working out this issue? I've done a lot of googling but to no avail.