I have a web application that sends email connecting to localhost as the SMTP. The SMTP is using send mail. My configuration was working fine where all emails to *@mydomain.com where handled by google apps for domain. My VPS was rebooted and now if the app tries to send emails to *@mydomain.com it ends up in my root email box on the vps (not gmail). If I send to the same address from outside the server all works fine.
I know I was messing with some host settings a few weeks ago and I think after the reboot SOME setting took effect and now sendmail things mydomain.com should be handled locally. Any ideas what setting I might have messed up?
hostname still shows vps.server.com (not my domain).