Schedule a Job to Purge Inbound Email Messages
You can schedule a job that purges the successfully processed email messages from the inbound message database tables, based on the retention policy.
The retention days are set in the SVC_INBOUND_MSG_RETENTION_DAYS profile option. If you also want this job to purge inbound email messages that fail or aren't processed successfully, you must set the value of the SVC_INBOUND_ENABLE_FAILED_MESSAGE_PURGE profile option to Yes. For more information, see "Configure Profile Options to Purge Inbound Messages".
This job runs periodically to purge inbound email and related records from the following database tables, based on the above two profile options:
-
Inbound message
-
Inbound message parts
-
Inbound message batch
You can schedule the job to run once daily. Or, depending on your company's requirements, you can decide another frequency for the job.
To set up a scheduled process to purge data from the three inbound message tables:
-
In the Navigator for your service application, click Scheduled Processes.
-
In the Overview page, click Schedule New Process.
-
Select Job as the Type option.
-
In the Name drop-down list, click Search.
-
Search for and select Purge Inbound Messages.
-
Click OK.
-
In the Process Details dialog box, click Advanced.
-
On the Schedule tab, select Using a schedule as the Run option.
-
Schedule the job to execute on a recurring basis by specifying the frequency and other details as required.
-
Click Submit.