----- Original Message -----
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "inFusion Support List" <[EMAIL PROTECTED]>
Sent: Wednesday, July 24, 2002 11:14 PM
Subject: [iMS] ResportPostStatus, Data.... template confusion
> Hello,
>
> I know this topic has been beaten to death on this list, but I could not
> find an answer in the logs for this list. I am running IMS-SE and am
> finally getting around to processing bounced mail. I am using the
> header_return_path="bounce-<:CID:>" syntax in my outgoing mail. Now I am
> trying to figure out how to catch and parse permanent and temporary failures.
>
The best way, IMHO, is to keep a counter going for each email address and, if the
counter reaches a certain number,
suspend the email address. It's way too difficult to parse the bounces as there is no
one format.
> Honestly, I do not understand which template serves which purpose. Can
> someone please breakdown how I would do the following, using which
> templates and which variables will be available to each. Also, is there ANY
> documentation on this?
>
The SMTP/B server is a special version of the SMTP server that uses only the DATA
template. Look in the SMTP section of
the manual and you will see the vars table there.
> 1. How do I process bounced and undeliverable mail. All the mail I am
> processing will have the SMTPFROM and RETURN PATH set to contain a Unique
> Identifier. Where do I get this information (and the failure
> code/message??) for processing. Is a different template called for
> immediate failures than is called when a remote mail server returns mail
> after xxx period of time?
>
There's a difference between immediate failures and bounces. For immediate failures,
enable the permanent failure
result notification in the post server and use the reportpoststatus template to
process. For bounces, use the data
template.
> 2. Data.cfm and rcpt.cfm: Where and when do I use these templates? What
> information is available to them and what format is it in?
>
This is in the manual. Also, FusionMail has these templates that may have some ideas
for you. Basically, you want to
parse the incoming email address to find out who the recipient is and that should tell
you what address the original
recipient was.
> 3. Is it true that the IMS-SE version contains a limited version of the
> SMTP server, capable of handling only emails starting with "bounce"?
Yes, in version 2.2 or higher.
> I have
> the IMS-SE version installed for sending mail from my CF app. I also have
> my regular mailserver (not IMS) installed on the same box. I have set up
> IMS SMTP on Port 27, and my standard mailserver on Port 25. Will IMS-SE
> SMTP be able to process bounced mail while co-existing with our existing
> mailserver?
>
No, because the standard smtp port is 25 and you can't receive external email to a
different port. If your email server
can bind to a single IP address and you have more than one available then you can have
the smtp/b server use the other
ip address.
> 4. ReportPostStatus returns a list of permanent,failed and/or successful
> deliveries. Is there more information available in this template than just
> the recipient emails addresses?
>
Yes, you get all the headers of the email and the location of the mail file if you
need it.
> 5. Deleting Mail Files: When do I need to manually delete mail files? Is
> this done when incoming mail addressed to bounce- is received? What is the
> syntax to delete the incoming mail. Rather, where do I get the name and
> location of the file to delete?
>
There is a var called emailfile that is available to your template. You should delete
the email file in your data
template if you don't need it (using cffile).
> 6. Any Sample Data.CFM and/or RCPT.CFM templates available or docs I have
> missed?
>
FusionMail has these...however, they were not designed for the smtp/b server.
> Thank you for your insights, sorry to post about this topic again....
>
NP.
We're currently planning on the following before year-end:
new manual
new fusionmail
iMS 2.5
All three are being worked on currently.
Regards,
Howie
> Brook Davies
> maracasmedia inc.
>
>
>
>
==^=======================================================
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]
==^=======================================================