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

thanks howie

At 04:00 p.m. 16/10/00 -0400, you wrote:
>I would not use relay domains like this.  Relay domains are used in special
>circumstances where you want to allow mail received at your server to always
>be relayed to a specified domain.  If you want to allow CFMAIL to relay
>through the server then you should do this by IP address (assuming that the
>CF Server is in the same network).  Pseudo code would be something like:
>
>if remoteIP is in allowed IPs 9or local class C) then allow all relays.
>
>Regards,
>
>Howie
>
>----- Original Message -----
>From: "Guillermo Dewey" <[EMAIL PROTECTED]>
>To: "inFusion Support List" <[EMAIL PROTECTED]>
>Sent: Monday, October 16, 2000 3:46 PM
>Subject: Re: [iMS] temporarily out of service
>
>
> >
> > >
> > >That is the domain of the remote server.  You need "TODOMAIN" for relay
> > >checking (you can see the code for this in FusionMail).
> >
> >
> > if a user use CFMAIL like this
> >
> > <cfmail
> > to="[EMAIL PROTECTED]"
> > from="[EMAIL PROTECTED]"
> > subject="hello">
> > Hello
> > </cfmail>
> >
> > ToDomain would be hotmail.com and its not on data base.
> >
> > If cfmail uses relay.server.com to send this mail we need relay.server.com
> > to be identify to allow this kind of sending
> >
> > I made this to detect it (havent test it jet) but not sure what  is the
> > variable that has the smtp used to send.
> >
> >                  <!--- Get all RELAY domains --->
> >
> >                  <cfquery name="GetRelayDomains" datasource="#data#"
> > dbtype="ODBC">
> >                  SELECT  DomainID, Domain, DomainType
> >                  FROM         dbo.Domains
> >                  WHERE DomainType='2'
> >                  </cfquery>
> >
> >                          <cfif GetRelayDomains.RecordCount GT 0>
> >                                  <!--- There is at least 1 Relay
>domain --->
> >
> >                                          <cfloop query="GetRelayDomains">
> >                                                  <!--- Compare remote
> > server and allowed domains to relay --->
> >                                                          <cfif
>RemoteDomain
> > IS GetRelayDomains.Domain>
> >
>RESULT=RELAY
> >                                                                  <cfbreak>
> >                                                          </cfif>
> >
> >                                                  <!--- Loop did not find
> > any match --->
> >                                                  RESULT=NOTLOCAL
> >                                          </cfloop>
> >
> >                          <cfelse>
> >                                  <!--- There are NO relay domains
> > configured on SMTP server --->
> >                                  RESULT=NOTLOCAL
> >                          </cfif>
> >
> >
> >
> > >Regards,
> > >
> > >Howie

> > >
> > > > for example if I set the domain relay1.server.com to be used on the cf
> > > > server a user can send freely because I am using the smtp
> > >relay1.domain.com
> > > > that is detected using RemoteDomain..  I know its the cfm code to
>allow
> > > > this but I am a little confused on the RemoteDomain section
> > > >
> > > > thanks
> > > >
> > > >
> > >
> > >
> > >
> > >========================================================================
> > >      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/
> > ========================================================================
> >
>
>
>========================================================================
>      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