Howie,
 
My theory, which I'm pretty sure is right, is that this problem is showing up only where there is a bad MX (or similar failure), and the interaction with the remote mail server never begins.  The SMTPFrom (or failto) isn't expanded, and the error message sent back by ims is sent to the unexpanded address.  This would be why the tests you're running work. 
 
PLEASE don't tell us to handle failed MX's in ReportPostStatus.  Yes, it can be handled there.  But I'd prefer a single, consistent method of handling bounces, and maintaining it in two places is very error-prone.
 
Question: if ReportPostStatus is being used, does an email still get sent to failto?  How would one disable this?  This is probably not the method I'll use, but I'm curious anyway.
 
Tac
 
 
 
----- Original Message -----
Sent: Monday, January 06, 2003 10:23 AM
Subject: Re: [iMS] Tokens not processing.

I just ran a test using the control file that you sent to the list and a test mail file.  The mail was sent using the latest POST Server to the SMTP Test server that comes with iMS.  Here is the log from the test server:

-----------------------------------------------------------------------------------------------------------------------
1/6/2003 10:18:06 AM 10.1.1.2 connected.
1/6/2003 10:18:06 AM -> 220 Roo Simple Mail Transfer Service Ready
1/6/2003 10:18:06 AM <- EHLO Roo
1/6/2003 10:18:06 AM -> 500 Syntax error, command Unrecognized EHLO Zippy!
1/6/2003 10:18:06 AM <- HELO Roo
1/6/2003 10:18:06 AM -> 250 Pleased to meet you!
1/6/2003 10:18:06 AM <- MAIL FROM: <[EMAIL PROTECTED]>
1/6/2003 10:18:06 AM -> 250 OK
1/6/2003 10:18:06 AM <- RCPT TO: <[EMAIL PROTECTED]>
1/6/2003 10:18:06 AM <- DATA
1/6/2003 10:18:06 AM -> 354 OK end mail with <crlf>.<crlf>
1/6/2003 10:18:06 AM <- Received: from Roo.hoot.com [10.1.1.2]
1/6/2003 10:18:06 AM <-           by POSTTestConsole.com (inFusion email Server) with ESMTP id iMS-TestConsole
1/6/2003 10:18:06 AM <-           for <[EMAIL PROTECTED]>; Fri, 3 Jan 2003 17:01:16 -0500
1/6/2003 10:18:06 AM <- to: <[EMAIL PROTECTED]>
1/6/2003 10:18:06 AM <- from: <[EMAIL PROTECTED]>
1/6/2003 10:18:06 AM <- subject: message 1
1/6/2003 10:18:06 AM <- Message-ID: <iMS-TestConsole>
1/6/2003 10:18:06 AM <- Date: Fri, 3 Jan 2003 17:01:16 -0500
1/6/2003 10:18:06 AM <- X-List-Member: [EMAIL PROTECTED]
1/6/2003 10:18:06 AM <- X-List: [EMAIL PROTECTED]
1/6/2003 10:18:06 AM <- Return-Path: [EMAIL PROTECTED]
1/6/2003 10:18:06 AM <-
1/6/2003 10:18:06 AM <- Your ID is 159
1/6/2003 10:18:06 AM <-
1/6/2003 10:18:06 AM <- Test!
1/6/2003 10:18:06 AM <- .
1/6/2003 10:18:06 AM -> 250 OK
1/6/2003 10:18:06 AM <- QUIT
1/6/2003 10:18:06 AM -> 221 Roo Service Closing Xmission Channel
-----------------------------------------------------------------------------------------------------------------------
 
As you can see, the tokens are working as they should.  Here is the test control file (slightly modified from the one that you sent)
 
-----------------------------------------------------------------------------------------------------------------------
[Control]
Status=UNLOCKED
 
[Delivery]
Start=20030104101618
Next=20030104101618
Priority=5
 
[Parameters]
SMTPFrom=bounce-<:id:>-<:list:>@generic.bobcat.doceus.net
MX=127.0.0.1
ServerPort=25
FailTo=
WarnTo=
ParseTokens=YES
 
[Tokens]
addheader_Return_Path=bounce%2D%3C%3Aid%3A%3E%2D%3C%3Alist%3A%3E%40generic%2Ebobcat%2Edoceus%2Enet
addheader_X_List=discussion%5Flist%40generic%2Ebobcat%2Edoceus%2Enet
addheader_X_List_Member=%3C%3Asmtpto%3A%3E
DummyToken=Dummy
 
 
[[EMAIL PROTECTED]]
email=idontexist%40adfexsxdf%2Ecom
id=159
list=42
-----------------------------------------------------------------------------------------------------------------------
Finally, here is the mail file that I used:
 
-----------------------------------------------------------------------------------------------------------------------
Received: from Roo.hoot.com [10.1.1.2]
          by POSTTestConsole.com (inFusion email Server) with ESMTP id iMS-TestConsole
          for <[EMAIL PROTECTED]>; Fri, 3 Jan 2003 17:01:16 -0500
to: [EMAIL PROTECTED]
from: [EMAIL PROTECTED]
subject: message 1
Message-ID: iMS-TestConsole
Date: Fri, 3 Jan 2003 17:01:16 -0500
 
Your ID is <:id:>
 
Test!
-----------------------------------------------------------------------------------------------------------------------
You should be able to reproduce my results using these same files....
 
Regards,
 
Howie
----- Original Message -----
From: Doug Moore
Sent: Monday, January 06, 2003 9:38 AM
Subject: RE: [iMS] Tokens not processing.

token_addheader_Return_Path="bounce-<:id:>-<:list:>@#Request.Community.ListManager.Domain#"

 

it uses the same tokens as the smtpfrom and the from is a completely different

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