14.Creating an Email archive job
Now we can create our Email Archive job.
b) Enter the Display name (Daily mailbox archiver) into the Add new job instance window and click Add.
c) Click OK in the pop up window to open the job’s configuration page and configure it.
The administrator must configure these sections on the job’s configuration page: Database settings, Scheduling settings, Storage settings, Shortcutting, Retention settings, Address book objects to process, Include folders. Filtering settings are optional and allow to set specific criteria for the email archiving (age, size, emails to be excluded etc.).
d) Set “Email Archive DB” that we created in step 4 above. The metadata will be stored here.
e) Select the “Every day at 6 PM” scheduler we created in step 10 above.
f) Select the “Email Archive store” storage we configured in step 9 above.
g) In “Shortcut settings”, select “Shortcut HTML” that we configured in step 8 above. By clicking on the Change button(s), it is also possible to set filters for the archiving job (more information here).
The shortcut settings allow to combine more shortcut types. If you want to archive your messages, but need to keep them in the mailbox during a certain time (e.g., 6 months) and replace them with a shortcut (e.g., HTML), after this time, you can combine the “Keep original” and a second, e.g., HTML shortcut. The screenshot below shows how to combine shortcuts for this use case (for more information, refer to the online guide here).
i) In the next step, select Archiving group to be archived. Click + select option in section “Address book objects to process” and search for the desired group in the dialog.
j) Select the mailbox folder that must be archived in the “Include folders” section. By default, the job is set to process the entire mailbox. Now, we will archive only subfolder “All documents” on the INBOX root, so we set it here. (Refer to the picture below.)
k) The “Exclude folders” section allows to set folders to be excluded from the archiving.
l) Under “Notification settings”, select “Never”, as we will use the monitoring feature to check the details of possible system or job related failures.
m) Under “Resource settings”, set value “4”.