Thanks Justin,

I'm heading down this path at the moment... One question... iMS doesn't 
have an application.cfm template as part of the standard implementation 
so I was just wondering what parameters you are using for 
<cfapplication> tag such as CLIENTMANAGEMENT, SETCLIENTCOOKIES, 
SESSIONMANAGEMENT, SESSIONTIMEOUT, APPLICATIONTIMEOUT, when all we are 
really trying to do is enable application variables...

Many Thanks,

Brett
B)


JustinMacCarthy wrote:

> you could speed by saving trip to the DB  like this :
> in application.cfm
> 
> <cfif not isdefined("application.RejectList")
> 
>     <cfquery  name=q>
>         SELECT EmailAdresses
>         From BlockedAdressed
>     </cfquery>
>     <cflock scope="APPLICATION" type="EXCLUSIVE" timeout="10">
>         <cfset Application.RejectList = ValueList(q.EmailAdresses)>
>     </cflock>
> 
> </cfif>
> in RCTP
> 
> <cflock scope="APPLICATION" type="READONLY" timeout="10">
>     <cfif ListFindNoCase(Application.RejectList,form.smtpfrom)>
>         <inlog text="blocked #form.smtpfrom# >
>         result=reject
>     </cfif>
> </cflock>
> 
> 
> As for the Sircam virus , this is one of reasons it be nice to be able
> access attachment in the Data / RCTP templates as well as message body etc..
> ...
> 
> Justin
> 
> 
> ----- Original Message -----
> From: "Howie Hamlin" <[EMAIL PROTECTED]>
> To: "inFusion Support List" <[EMAIL PROTECTED]>
> Sent: Wednesday, August 08, 2001 10:28 PM
> Subject: Re: [iMS] How to block an email address!
> 
> 
> 
>> It's easy but it depends on whether you are skipping the MAIL template or
> 
> not.  We skip that template so in our RCPT template we do
> 
>> something like:
>> 
>> <cfif form.smtpfrom is "[EMAIL PROTECTED]">
>> <inlog text="blocked [EMAIL PROTECTED]">
>>    result=reject
>>    <cfabort>
>> </cfif>
>> 
>> You can do pretty much the same thing in the mail template.
>> 
>> Regards,
>> 
>> Howie
>> 
>> ----- Original Message -----
>> From: "Benny Cornett" <[EMAIL PROTECTED]>
>> To: "inFusion Support List" <[EMAIL PROTECTED]>
>> Sent: Wednesday, August 08, 2001 5:03 PM
>> Subject: [iMS] How to block an email address!
>> 
>> 
>> 
>>> Howie,
>>> is there a way to block senders through iMS? I have been hit around
>> 
> 3,000
> 
>>> times in the last hour by the sircam32 worm from the same email address.
>> 
> I
> 
>>> have already taken steps to automatically delete attachments on arrival
>> 
> so I
> 
>>> am not worried about the worm. I am having trouble with the amount of
>> 
> emails
> 
>>> from this one address.
>>> 
>>> Your help would be appreciated.
>>> 
>>> Benny Cornett
>>> Cold Fusion Developer
>>> oneTravel.com
>>> [EMAIL PROTECTED]
>> 
>> 
> 
==^======================================================================
     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