Email Archiving and Email Compliance for Exchange Server, Outlook and IMAP
This is an excerpt from the manual of MailStore Server, the leading e-mail archiving solution for small and midsized businesses.

Documentation (PDF)
Quick Start Guide (PDF)

Automating the Export Process

With MailStore, every exporting task (every export profile) can be executed automatically according to specified points in time.

Procedure

arch_schedule_01

In the next window ("Schedule Task"), the following settings of the planned task can be specified:

Task - Name: The task name can be chosen freely. By default, the name of the export profile and its internal MailStore ID are used.

Trigger: A time for daily execution (the task is executed once a day) or a time time interval (e.g. every 60 minutes) can be specified.

 If the option Other Trigger is chosen, the exporting task is created as Windows task but execution times still have to be specified. This has to be done using the Windows task planner and is described in Windows Help. All options offered by your current Windows version can be used.

Windows Account: Specify here which user account is to be used when executing the scheduled task. The option Local System Account can be used for exports with destination Directory (File System) or CD/DVD, for example, and has the advantage that no password is required to execute the task. If the emails are to be archived from the applications of the current user (e.g. from Microsoft Outlook), the corresponding user account must be selected. In such cases, the option Local System Account is deactivated.

Log Messages - File Name: If a log file is to be created, the name for that file can be specified here. The placeholders {DATE} and {TIME} can be used in the file name which will be replaced by the actual date and time during the archiving process. If desired, the log file can also be created on a network drive.

After all settings have been specified, the task can be created by clicking on OK. Confirm the following safety prompt by clicking OK again. If any account other than the Local System Account has been selected under Windows Account, the Windows password of the currently logged on user has to be entered.

A list of scheduled tasks is displayed in MailStore's Administrative Tools, showing all tasks created on the current computer up to this point.

Managing Scheduled Tasks

Scheduled tasks created on the current computer are managed in Administrative Tools under Scheduled Tasks.

arch_schedule_02

The list shows all scheduled tasks for archiving and export processes that were created on the current computer.

Run Task: The selected task is executed immediately regardless of its scheduled runtime.

Properties: The Windows task planner is opened for the selected task; all options offered by the  current Windows version can be used.

Delete Task: The selected task is deleted. This does not affect the underlying archiving profile or any of the archived emails.

Open Log Files Directory: The directory containing the protocols for the selected task is opened.

Viewing the Command Line

If desired, the export process can be incorporated into a larger procedure, such as one run by a batch file (.bat). To simplify this process, MailStore offers the option Copy Cmd Line in the Schedule Task window (see above). Click on it to view a command line that can be incorporated into the desired procedure. For example:

REM *** Microsoft Outlook (ID 77) ***

"C:\Program Files\deepinvent\MailStore Server\MailStoreCmd.exe" --h="localhost" --pkv3="16:0e:95:b0:79:d2:e8:e0" -u="admin" --p="admin" --o="C:\ProgramData\MailStore\TaskLog\77_{DATE}-{TIME}.log" -c export-execute --id=77 --user="admin" --verbose

The command line is to be read as follows:

"...\MailStoreCmd.exe" - MailStoreCmd.exe is the MailStore Management Shell. It was developed for the automated execution of certain processes in MailStore. Additional information about MailStoreCmd is available in chapter The MailStore Management Shell.

--h="localhost" - The computer name of the MailStore server to which MailStoreCmd.exe is to connect.

--pkv3="..." - Public Key Fingerprint. It ensures that the MailStore server at the time of archiving is the same as it was at the time when the scheduled task was created (optimal safety feature).

--u="admin" - User name.

--p="admin" - Password.

-c - The actual command follows (non-interactive mode).

import-execute --id=77 --user="admin" - Execute the archiving profile of user admin with the  internal ID 77.


Copyright © 2005-2010 deepinvent Software GmbH | Homepage | Terms | Privacy Policy | General Conditions of Contract | Your Country: US
All trademarks and registered trademarks are the property of their respective owners. Learn more...