I *think* it's doing the right thing without that now, actually. However, I'm not sure the <cfexit> trick would work anyway, depending on how iMS invokes the templates. <cfexit>, as I understand it, just exits out of the current template. Given that, I don't think exiting out of RCPT would have any direct effect on whether the DATA template is invoked or not.

I think I had something wrong where it wasn't properly invoking "result=unknownuser". Now that my code *is* invoking that, it would appear that iMS is not invoking the DATA template, which seems like the right behavior.

ben



On Dec 20, 2007, at T Dec 20, 07 607PM, Brett Payne-Rhodes wrote:

Hi Ben,

I've just set up my rcpt.cfm to reject email to [EMAIL PROTECTED] as "unknown user". Seems to work ok...

You might need a <cfexit> after you set the 'result' though, otherwise it may be falling through to a different 'result'?

<cfif smtpto is "[EMAIL PROTECTED]">
        result=unknownuser
        <cfexit>
</cfif>

Cheers,

Brett
B)


Ben Mueller wrote:
Hi all,
There are certain inbound emails that I want to reject outright, meaning I don't even want post.cfm to be invoked. I had assumed that by catching those emails in rcpt and putting a "result=unknownuser" in rcpt.cfm that iMS would do the "right" thing and abort further processing. However, it would appear that this is, in fact, not the case. Is there any way that I can instruct iMS to stop processing within the rcpt.cfm file? If that's a bad idea, then "that's a bad idea" is a perfectly acceptable response.
Thanks in advance,
Ben

--
Brett Payne-Rhodes
Eaglehawk Computing
t: +61 (0)8 9371-0471
m: +61 (0)414 371 047
e: [EMAIL PROTECTED]
w: www.yoursite.net.au
Movember: http://www.ehc.net.au/movember

==^=======================================================
This list server is Powered by iMS  "The Swiss Army Knife of Mail Servers"
--------------------------------------------------------------------------------------
This list is provided as a free service.  Although we will try to address issues
in a timely manner, support via this list is not guaranteed.  If you require 
expedited
support then a support contract is required.  Support may be purchased from
http://www.coolfusion.com/commerce.  Details regarding support options may be 
reviewed
at: http://www.coolfusion.com/SupportOptions.cfm
--------------------------------------------------------------------------------------
To leave this list please complete the form at 
http://www.coolfusion.com/Support/
Need an iMS Developer license?  Sign up for a free license here:
http://www.coolfusion.com/Developers/
List archives: http://www.coolfusion.com/cfbb/
Note: You are subscribed as archive_jab_org / [EMAIL PROTECTED]
==^=======================================================


Reply via email to