I had the same problem last week.

As you said there's no point in that same CF server knowing it can't
deliver mail, because it can't send you an email about it.

The only think i can think of is to write a really basic cfc that does
a cfdirectory on the undelivered directory and returns a true if it's
empty or false if there's a problem. Then put a scheduled task on your
local copy of CF to check the cfc and send you an email from your
local machine if there's a problem.

Or of course if you could send an SMS via a webservice all the better.

That's how i'd do it. 

Gav




On Fri, 29 Oct 2004 15:01:50 +1000, Ben Smith <[EMAIL PROTECTED]> wrote:
> OK, here's the thing.
> 
> Over the past week, a network change combined with unsuccessful dns
> propagation combined with the phase of the moon caused our production
> webserver to send emails to the wrong host. The connections were all
> refused and the mails bounced back into the undeliverable folder. I
> discovered this state of affairs, grabbed all the bounced mails, bulk
> edited them to point them to the right mail server and threw them back
> in the spool. Everyone rejoiced, but I'm looking for a way to jump on
> that kind of problem sooner. Obviously, in such a situation a mail
> notification wouldn't work, I'd be looking more towards something that
> could send me a net send message. A couple of things I came up with
> but didn't seem to work:
> 
> 1) setting up a probe that opens a file that cfexecutes a telnet into
> the mail server's port 25. This would work, but cfexecute does not
> seem to return the results of the telnet command, probably because it
> clears the screen before output
> 
> 2) monitoring the mail.log file for any "connection refused" errors. I
> am struggling to think of a non-yucky way to acheive this
> 
> Are there any painfully obvious solutions that I have missed?
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to