I am currently using free version of Google Apps for hosting my email.It works great for my official mails my email on Google is email@example.com.
In addition I'm sending out high volume mails (registrations, forgotten passwords, newsletters etc) from the website (www.mydomain.com) using IIS SMTP installed on my windows machine.
These emails are sent from firstname.lastname@example.org
My problem is that when I send email from the website using IIS SMTP to a mail address email@example.com I don’t receive the email to Google apps. (I only receive these emails if I install a pop service on the server with the firstname.lastname@example.org email box). It seems that the IIS SMTP is ignoring the domain MX records and just delivers these emails to my local server.
Here are my DNS records for domain.com:
mydomain.com A 18.104.22.168 3600s mydomain.com TXT v=spf1 ip4: 22.214.171.124 a mx ptr include:aspmx.googlemail.com ~all mydomain.com MX preference: 10 exchange: aspmx2.googlemail.com 3600s mydomain.com MX preference: 10 exchange: aspmx3.googlemail.com 3600s mydomain.com MX preference: 10 exchange: aspmx4.googlemail.com 3600s mydomain.com MX preference: 10 exchange: aspmx5.googlemail.com 3600s mydomain.com MX preference: 1 exchange: aspmx.l.google.com 3600s mydomain.com MX preference: 5 exchange: alt1.aspmx.l.google.com 3600s mydomain.com MX preference: 5 exchange: alt2.aspmx.l.google.com 3600s