WebFaction
Community site: login faq

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?

asked 11 Mar '11, 14:40

Acorn
383815
accept rate: 0%


Because of the nature of e-mail servers it would be impossible to imply that kind of monitoring server side and allow it to be accessible to our users. The sheer volume of users and e-mails being processed is to high, and the likelihood of vital user information leaking to great. You could write a script that checks a number of things, but as far as I know such a script does not exist so you would have to write it from scratch. We have some docs that cover sending e-mail from a script,

http://docs.webfaction.com/user-guide/email.html#sending-mail-from-an-application

You would have to have logic that checks the parameters you want etc.

permanent link

answered 11 Mar '11, 15:14

johns
5.4k312
accept rate: 23%

edited 11 Mar '11, 15:15

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×261
×10
×9
×1

question asked: 11 Mar '11, 14:40

question was seen: 3,858 times

last updated: 11 Mar '11, 15:15

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM