AutoArchive Exchange Account in Entourage - entourage.mvps.org

Posted on November 21, 2007 in How-to

Move all e-mail older than 60 days from your Exchange account folders to archive folders within the "On My Computer" folder tree.

Download script

TO CREATE AN AUTO-ARCHIVE SCHEDULE

Save AutoArchive AppleScript to your Microsoft User Data folder: Entourage Script Menu Items.

1. Menu path: Tools/Schedules
2. New button
3. Name "AutoArchive"

When "Timed Occurrence" -- I set mine to every night at 3 AM

Action "Run AppleScript" -- set the saved script as the action script

Thats it

As long as Entourage is running each night, this script will kick-off an archive your messages to a local folder. If you dont leave Entourage running, you could choose to just run the script whenever necessary.

You may modify two variables within the script:

1. ArchiveFolderName : the name of the folder archive trees spaw within.
2. Defaults to Archives.

This image gives you an idea of how an archive folder tree is created.

archive example image

ArchiveAgeCriteria : the age, in days, to determine a message should be archived. Defaults to 60 days.

In order to search using Spotlight, be sure Spotlight is enabled.

Script provided by Andy Ruff

MacBU Program Management