Email Backups

Introduction

Incoming emails which could not be processed are stored in a special store in the CM system (the location varies depending on the mode of the incoming mail configuration, see ESB and NIMH sections below).

You as an administrator can then try to re-send the emails to the system manually. The emails stored here can also be deleted, e.g., spam emails.

IMPORTANT INFORMATION

Since ConSol CM version 6.9.4, there are two modes to receive incoming emails:

For all configurations/settings which are valid for both modes, no further notes are added. For all settings which vary depending on the mode, this will be explained in separate (i.e., Mule/ESB- or NIMH-specific) sections.

Email Backups in the Admin Tool

All emails which could not be processed are listed in the navigation item Email Backups in the navigation group Email. If your system is running in Mule/ESB Mail mode, the Mule/ESB backup emails are displayed, if the system is running in NIMH mode, the NIMH backup emails are displayed. Backups of both types are never displayed at the same time!

Usually, when an email cannot be processed, this is caused by one of the following reasons:

Figure 394: ConSol CM Admin Tool - Email, Email Backups

The list panel for unparsable emails contains the following elements:

In an error-free ConSol CM system, the list panel for unparsable emails should be empty. If there are emails listed, an error has occurred in the processing of those incoming emails. Please see section Scripts of Type Email for a detailed explanation of the processing pipeline.

You can perform the following actions with email backups:

Management of Email Backups with Mule/ESB

Incoming emails which could not be processed are stored in the file system, in the following directory (as .eml files):

<CMAS_DATADIR>/mail/unparsable

This is done when the system property cmas-esb-mail, mail.db.archive is set to true. If this property is set to false, no email backups are saved.

Emails which are stored in the unparsable directory and get re-sent successfully are transferred from the unparsable directory to the following directory (as .eml file):

<CMAS_DATADIR>/mail/reimported

Management of Email Backups with NIMH

Incoming emails which could not be processed are stored in the ConSol CM database, in the following table (as .eml files):

cmas_nimh_archived_mail

The system behavior concerning email backups with NIMH is controlled by the system property cmas-nimh-extension, mail.db.archive.

If the property is set to true, all incoming emails are archived in the database. If the property is set to false, the emails which can be processed are deleted after processing. The emails which cannot be processed will be stored in the database as long as they have neither been processed nor deleted (which can be achieved by reprocessing or deleting such emails, see section above). An email database entry will be deleted automatically after being successfully processed.