If you have this as your result:
 
result=banned
 
Then iMS sends this message (unless you specify a custom response)
 
550 You are banned from sending mail here
 
I've also seen servers use 501 (and probably other codes as well).
 
Regards,
 
Howie
----- Original Message -----
Sent: Wednesday, June 18, 2003 10:50 AM
Subject: Re: 5xx responses (was: [iMS] Problem with header parameter of CFX-IMSMail tag)

So, are the following valid:
 
1. customresponse="500 Your server has been banned."
2. customresponse="520 Your server has been banned."
3. customresponse="555 Your server has been banned."
 
or, do the 500 number refer to a specific "error"?  Here's the reason I'm asking.  Maybe this will help explain what I'm trying to do.  In my HELO template, I first verify that the incoming mail server is not banned by checking the our banned list.  If it is banned I want to send a custom response.  Then, I check for a valid MX record.  To do this I use the cfx_odsmxlookup custom tag.  That tag returns ODSMX_RESULT which tells me whether the tag got executed succesfully or not.  If not I want to do a couple of things.
 
Right now, while in testing, I want to send a custom response with the results of ODSMX_RESULT in the message.  When I leave the development stages and make the server live, this will not happen, rather the result will be logged to a DB table that I record debugging information in.
 
Then, if ODSMX_RESULT returns 'SUCCESS' I verify the the exchange is not empty.  If it is empty I then want to send a custom response indicating that there was no MX record found and that I do not accept wmail form servers that do not have a valid MX record.
 
So, basically I need to know how to send 3 different custom responses.  1 for banned servers, 1 for my own use, and 1 for invalid MX records.  And this is only in the HELO template.  I still have MAIL, RCPT, and DATA to deal with.
 
Hope this helps,
 
Keith

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/Support/
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