----- Original Message -----
From: "Tac" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 1:29 PM
Subject: Re: [iMS] PostFail versus ReportPostStatus


> Howie,
>
> If 'failto=' is set, a failure message will always be sent if the failure is
> permanent, right?

Unless the value is "NULL" or "<>"

> So ReportPostStatus is always called (if set), and a copy
> of the transcript is sent to the failto address.  Under what conditions is
> PostFail called?  Isn't that called when a temporary failure happens after
> trying several times?  In which case, would the message also be sent to
> failto?
>

the postfail template is only used when you want to create custom error 
messages...otherwise, iMS sends a canned email.

> I'm getting ready to rewrite the error handling, and want to make sure I've
> covered everything properly.  Like Jose, I've seen cases where valid email
> addresses get reported as failures, but am not sure which routine (failto,
> ReportPostStatus, or PostFail) is the failure point.
>

Some email servers are broken in that they reply with a 5xx code (which usually 
signifies a permanent failure) when the failure is
really temporary.  I feel that any time that you get a permanent failure in the 
reportpoststaus that, instead of removing the
account, that you increment some failure counter and when that reaches a certain 
number then you disable the account.

Regards,

Howie

> Thx,
>
> Tac
>

==^=======================================================
     This list server is Powered by iMS
   "The Swiss Army Knife of Mail Servers"
   --------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/iMSSupport.cfm
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/iMSDevelopers.cfm
List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
Note: You are subscribed as [email protected]
==^=======================================================


Reply via email to