Monitoring whether Google Apps email address is reachable

Posted by Acorn on Server Fault See other posts from Server Fault or by Acorn
Published on 2011-03-11T15:30:56Z Indexed on 2011/03/11 16:11 UTC
Read the original article Hit count: 326

Backstory: I bungled things a bit the other day, and inadvertantly deleted the DNS overrides for my domain including the MX records that point to Google Apps, causing 2 days of lost emails.

What I want: I want to be able to monitor the email address/account so that I can be alerted if for any reason something has gone wrong and emails aren't arriving.

Thoughts: I was thinking there might be a way to test the email without having to send an actual message. Does this exist? This wouldn't help if the DNS has reset itself to a different mailserver would it?

The other idea was sending periodic emails to check the address it working. How would you automate this? You'd need to somehow check that the email address had arrived as well as checking if it had bounced.

Are there any scripts that exist that would do something like this? What would be the best method? Maybe a combination of checking that the MX records for the domain are set to what they're supposed to be set to, and sending automatic test emails to check that things are still functioning on the Google Apps end?

© Server Fault or respective owner

Related posts about email

Related posts about monitoring