Subject Date - DESC Rating Viewed Topic
Email not received by iService 1/16/2014 9:28:58 AM 4.0 2789 Email Processing
Changing the mailbox specified for messages in SMTPout 9/5/2013 10:53:53 AM None 3014 Email Processing
Setting message in SMTPOut for immediate delivery 2/25/2013 1:27:09 PM None 3631 Email Processing
Forward Email to External Email Address - Exchange 2003 2/7/2011 4:03:12 PM None 2304 Email Processing
Testing your SMTP connection 12/10/2010 4:43:56 PM 4.0 2299 Email Processing
Setting pending messages as Sent within iService 9/7/2010 1:17:41 PM None 2402 Email Processing
Message received with a blank body 7/27/2010 3:27:17 PM 5.0 2165 Email Processing
Techniques for minimizing bounced emails 7/1/2010 9:55:45 PM 5.0 2522 Email Processing
Article Selected >> Capturing the bounce reason from undeliverable messages
Can I create a filter to capture the bounce reason code from the body of undeliverable messages?

You can capture the bounce reason from most undeliverable messages using a new interaction property (Bounce Reason) and a filter that looks for the reason code. This is a three step process as shown below.

STEP 1 - In the first step, you need to create the interaction property that will hold the bounce reason code. This will save the code into the database and can be used on reports or to simplify finding the reason when you view the bounce message. If you wanted to be really fancy, you could setup a series of filters to substitute a more descriptive description ... but for our purposes this will be a simple example. The image below illustrates creating the interaction property.

Creating the interaction property

Step 2 - Next,  you need to create the filter that will capture the bounce reason and place it into the property we just created. This filter will use a regular expression to find the word "said" in the body of the undeliverable message returned from the mail server. In most mail servers, the word "said" is followed by the actual bounce reason. An example is shown below.

 host[] said: 552 5.2.2 Over quota

The setup of this Set Interaction Property filter is shown below.

The Set Interaction Property filter 

Step 3 - Add the new Bounce Reason filter to the existing filters that you should already have to reclassify bounce messages. Most tenants have two filters that find bounces based on the sender (postmaster or mailer-daemon) or the subject line. These filters usually take the action Change Topic to the predefined topic of _Undeliverable.  Simply add a second action that will run the new filter created in step 2 above. This filter is illustrated below.

Adding a second action to the bounce filters 

Article DetailsSubscribe and Rate this article
Article ID:50464
Date Updated:7/1/2010 5:06:59 PM
# Views:2204
Article Creator:Scott Whitsitt
Article Topic:Email Processing
Attachments:-- None --
Options for the From email address 5/26/2010 12:38:19 PM None 2135 Email Processing
Email not leaving iService 5/19/2010 8:11:26 AM None 2065 Email Processing
Please Wait...