I misspoke - This should be in your DATA template - Something like:
<!--- verify that the hopcount has not been exceeded --->
<cfif hopcount gt 20>
<!--- we should really delete the mail and notify either the sender or admin --->
<!---
<cfx_iMSMail smtpto="#smtpfrom#" smtpfrom="<>" header_to="#smtpfrom#"
header_from="inFusion Mail Server" header_subject="Exceeded
hop count" body="
Sorry but your email exceeded the allowed maximum hop count of 20">
--->
result=accept
<cfabort>
</cfif>
Basically, you want to tell iMS that the mail was received properly and then delete
the file (not shown here). You can optionally
notify the sender but that's not recomended unless you're careful to only repond to an
address that will not create another mail
loop.
HTH,
Howie
----- Original Message -----
From: "Phillip Beazley" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Tuesday, June 05, 2001 2:37 PM
Subject: Re: [iMS] FYI: ORBs
> At 02:03 PM 6/5/2001 -0400, you wrote:
>
> >Do you have code in your rcpt template to kill messages with a high hop count?
>
> I get this problem, too, every once in awhile so I checked the rcpt
> template. No hop count there. I checked the FusionMail code, none there
> either. Can you provide this snippet?
>
>
> --
> Phillip Beazley
> FutureSights -- Website Hosting, Development & E-commerce
> Visit http://www.futuresights.com/ or call 727-578-9600.
>
========================================================================
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/
========================================================================