Thanks for the advice Kim :) I just finish the other way I mention before 
but its always good to know other ways.. I thing what is most important on 
this templates is to have things done on a way the process is made faster 
with less pain for the cf server .. my cf server is a chicken.. and screams 
if we make heavy loaded loops :)


At 09:50 a.m. 17/10/00 +1100, you wrote:
>Good Morning Guillermo,
>
>>mhh I see..  I will add allowed IP(s) to relay domains .. every cf server 
>>admin must have a way to relay the way I mention before :) will need more 
>>time to make it but hope its worth it
>
>We do the same for all our cf servers as many of the websites use mail 
>tags. We made a function, that we called "reverse relay" for lack of a 
>better expression, and we use a table that has the IP address ranges for 
>the servers to control what is allowed to send mail out. We condense the 
>IP address so it is just a number, eg., 61.8.15.53 becomes 6181553, then 
>it is easy to compare. This is the snippet from rcpt.cfm:
>
><cfset testIP = replace(form.RemoteIP, ".", "", "all")>
><cfquery name="getFrom1" datasource="iMS">
>  select Domain
>   from RevRelayDomains
>   where IPStart <= #TestIP#
>    and IPEnd >= #TestIP#
></cfquery>
><cfif getFrom1.RecordCount and hopcount lt 2><!--- its a local server so 
>OK --->
>  result=accept
>etc....
>
>
>It works well, we do not have to worry about what the production server's 
>admins are up to, they can send mail :-), and we only have to add more 
>subnets of IP addresses to the RevRelayDomains table as the place grows.
>
>
>--
>
>Yours,
>
>Kym
>
>
>========================================================================
>     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/iMS.htm
>
>List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
>========================================================================



********************************************
*   Ing. Guillermo Dewey Guerra
*   Metro Cybercomercio Mexico
*   [EMAIL PROTECTED]
*   ICQ: 25876549 (GDewey)
*
*   http://www.metro.com.mx
*   http://www.ablecommerce.com.mx
*
*   Tel. (011) (52) (8) 3-90-7000
*   Fax (011) (52) (8) 3-90-7001
*   Cel. (011) (52) (044) (8) 3-09-24-16
*   Monterrey N.L. Mexico
  ********************************************


========================================================================
     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/iMS.htm

List archives: http://www.mail-archive.com/infusion-email%40eoscape.com/
========================================================================

Reply via email to