I found it:
===================================================
We found a bug in the FusionMail code (thanks to Jason Lavigne for pointing
out the problem). Sometimes, when a mail is sent to both local and
non-local recipients, all of the mail is not received. The reason for this
is that the DATA.CFM template relies on the "ToDomain" variable in some of
its queries (Kym's DATA.CFM probably has this fixed already but I haven't
checked). The ToDomain variable is really only valid in the RCPT.CFM
template since it changes each time a new RCPT clause is received from the
remote server or client. You should determine the recipients and domains
from the RCPTLIST or the RELAYLIST variables.
Here is the corrected code:
<!--- loop through all the RCPTs --->
<cfloop index="rcptloop" from="1" to="#counter#">
<cfset emailaddr="#listgetat(rcpts,rcptloop)#">
<cfset orgemailaddr=emailaddr>
<cfset domainstr="#form.todomain#">
<cfif find("@",emailaddr) gt 0>
<cfset domainstr=mid(emailaddr,find("@",emailaddr)+1,len(emailaddr))>
<cfset emailaddr=left(emailaddr,find("@",emailaddr)-1)>
</cfif>
<cfquery name="getuser" datasource="iMS">
select * from (pops inner join aliases on
pops.accountnum=aliases.accountnum)
inner join domainaliases on aliases.domain=domainaliases.domainid
where domainaliases.domain='#domainstr#' and alias='#emailaddr#'
</cfquery>
Please let me know if there are any problems or questions.
Regards,
Howie Hamlin
----- Original Message -----
From: "Kevin Langevin" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Monday, March 04, 2002 8:48 PM
Subject: [iMS] Local processing problems...
> Hi all-
>
> Howie just mentioned to me a fix he posted a while back concerning
> processing multiple local recipients using Fusionmail for iMS. He said that
> he posted it, but that Fusionmail wasn't updated. Anyone have that fix or
> know when it was posted so I can try to find it? I must have missed it.
>
>
> Kevin Langevin
> Web Guy In Charge
> UsWebGuys
> 954-327-5780
>
>
> -----Original Message-----
> From: Steve Slawin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 04, 2002 10:01 AM
> To: inFusion Support List
> Subject: [iMS] MSN delivery failures
>
>
> We're getting a lot of failed delivery to MSN. Here's transcript. Any ideas?
>
> Your attached message to msn.com could not be delivered.
>
> I said "helo www.macdill.org" and smtp-gw-4.msn.com responded:
>
> 221 2.0.0 cpimssmtpa40.msn.com Service closing transmission channel
>
> Entire Transaction follows:
>
> <-220 cpimssmtpa40.msn.com Microsoft ESMTP MAIL Service, Version:
> 5.0.2195.4617 ready at Fri, 1 Mar 2002 12:32:25 -0800
> ->ehlo www.macdill.org
> <-500 5.3.3 Unrecognized command
> ->helo www.macdill.org
> <-221 2.0.0 cpimssmtpa40.msn.com Service closing transmission channel
> ->quit
>
==^=======================================================
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]
==^=======================================================