Preprocessing Tasks

Summary

Preprocessing Tasks are used to fix problems with incoming emails that do not conform to the expected email standards as processing these type of emails can cause problems to occur.

Enabling preprocessing tasks

When Use Preprocessed Message is enabled, preprocessing tasks can be selected for use during email processing. You will see the following screen once enabled.

Quoted Address Removal

This will check whether any of the From, To and Cc addresses for any illegal quotes and will then remove any illegal quotes. e.g. "Some Name" <'some@place.com'> -> "Some Name" <some@place.com>

Double Route Address Removal

This will check whether any of the From, To and Cc addresses for illegal double addresses. If found it will quote the first address as a personal part. e.g. <some@place.com> <some@place.com> -> "some@place.com" <some@place.com>.

Single Leading Quoted Personal Fixer

This will find and remove any illegal empty quotations. e.g. ' ' <some@place.com> -> <some@place.com>

Trailing Dot Address Removal

This will find and remove any trailing dots that are found within the From, To and Cc addresses. e.g. "Some Name" <some@place.com.> -> "Some Name" <some@place.com>

Unwrapped Email Address Fixer

This will find any unwrapped email addresses and will wrap them within “<" and ">". This will only be applied when a personal is provided. e.g. "Some Name" some@place.com"Some Name" <some@place.com>

Missing Recipient Address Fixer

Adds the To header if the email recipients (in To, Cc and Bcc or any other Catch Email Headers) don't match any Catch Email Addresses. Useful for allowing emails sent to the inbound mailbox using the Bcc header to be processed.

This option will add the address which has been added to “To Email Address”. This would be a Catch Email Address

Content Type Mapper

This will filter invalid email header mime types to some valid type. This will show a configuration option where you enter the invalid content type and what to change the value to. For example:

Illegal Disposition Fixer

Fixes broken/unknown Content-Disposition headers, setting up a configurable default header value will allow you to enter a default Content-Disposition to use. Recommended values are attachment or inline

Scripted Task

Here you are able to create your own custom Preprocessing task. This allows you to change the incoming mail based on custom conditions. For more details see: https://thepluginpeople.atlassian.net/wiki/spaces/JEMHC/pages/3777167379