The AutoArchive script that moves mail from your Exchange account folders to archive folders within the "On My Computer" folder tree has been broken for Leopard. You can download this beta version and see if it works for you.
Before using the script, open in the Script Editor and select the version of Entourage you are using. Change this line to 2004 if you have not upgraded yet:
set ArchiveVersion to 2008
For more info on customizing and using this script see the Entourage Help Page AutoArchive Exchange Account to "On My Computer"
Updates to the script provided by Entourage user, Michael K. Please report back if it works for you. If you do have problems, try to give details.

Comments (12)
Thanks for the script. I have a couple issues with it though:
1. It creates a duplicate folder with the name of the exchange account. For example, my exchange account is called Work. After running the script my local folder structure looks like
Archives
->Work
->Work
->Deleted Items
->Drafts
->Inbox
->...
2. The archived Sent Items folder shows that I wrote all the emails in the message list view but doesn't show the person it was sent to, as is normally the case with the Sent Items folder
Rob,
Let me see if I can help out.
1) Do both of the duplicate work folders have emails in them or is one blank? Are they separate folders or is one work folder a sub folder of the other?
2) try right clicking on the message bar in list view of the archived sent folder and making sure the 'To' field is selected.
The default sent folder does this automatically but any new folder created (either in an archive or not) needs to be told how to behave.
This message bar should have the flags, links, mail, status, priority, from, sent, categories, projects in there already. This is the tiny grey spreadsheet like boxes directly above the mail messages in list view. Right click on this and you'll see what I mean.
I hope this helps,
Mike
I have the same "issue" with Exchange account name, its shows
Accountname
Accountname
Deleted Items
Drafts
...etc
Only second accountname folder has items and subfolders, first one has only subfolder with second accoutnname
I have the same issue with a folder 'account name' and a sub-folder within that also called 'account name'. That sub-folder contains all the archived mail.
Is there any way to modify the script to also archive the calendar?
Can you simply drag or use the Move to/Copyto icon in the toolbar to copy the folder to folders "On My Computer" ?
Mike,
To answer your questions:
1) The duplicate folder is a subfolder of a parent of the same name. Only the lower folder has any messages
2) Are you referring to changing the Arrange By: criteria in the Sent Items archive folder? The only changes the grouping of the messages but doesn't affect the way it displays the message list. It always shows the messages as coming from myself.
What i did was to stop using the script and just manually copy my exchange inbox to the local inbox and my exchange sent items to my local sent items. Would it be possible to change the script to do that. This would solve these problems.
I get the same thing as above people, i.e. nested folder name, but this is really not an issue. So I have to look one folder deeper for mail items, no big deal!
The snag I am having is that the script trips up after a while with
---
The script encountered error "Microsoft Entourage got error: An error of type 4362 has occurred." during execution [OK]
---
On first run this was after quite a long while - maybe 10 minutes - while subsequent attempts fail after only a few seconds.
The amount of data that it should / would be archiving is pretty large (Exchange server reports 5 GB but who knows how accurate that is - I know it's wrong about some other mailboxes in the organisation). Before starting this archive exercise (and the major reason for wanting to do it) is that for the past week or so, least once per day Entourage gives this error:
---
Error - Quit and restart Entourage. If this problem continues you might need to verify and rebuild the Entourage database.
Explanation - Mail could not be sent. Account name: "{account name}" [there is only one account]
Error: 4363
---
So are these two errors likely related? (Consecutive error numbers mean anything? :-) This is Microsoft, I know, but not the PC group... :-D). I'm a little wary of the database rebuild procedure, the "how to" I found assumes a lot of knowledge of the Mac that I don't have...
Something else!
I just discovered, preparing to do a database rebuild, that the database file is HUGE - over 18 GB.
Question - WHY??!!
1) Exchange Server reports (as I said before) that the user's mailbox is around 6 GB so how could the database on the PC be 3 times that, and anyway...
2) Why is there anything at all on the local hard drive, when all the mail items are in the mailbox on the Exchange server?
Can someone help me understand this?
Sorry if this is a stoopid question, especially on this blog which I do understand is more about the Auto Archive script, but I have found few other useful resources on the Mac - and as a Windows person I tend to trust Microsoft help more! :-D
Chris
Your folders "On My Computer" could be much larger than the database that is on the Exchange server. If you do a File > Export what size is the .rge file?
Okay,
I'm a newbie here and not very familiar with "scripts." What EXACTLY do I need to change/edit in this script. Are there places in the script where I need to type in my folder names? Again, I'm a newbie, and not generally all that computer litarate anyway, so I do real well when things are spelled out for me.
Frankly, I'm still trying to figure out the microwave. Okay. Maybe not that bad.
Yesterday, I set up a bunch of different "rules" for my email only to realize that I did them for my POP accounts and not my exchange account. Of course, it seems you can copy rules to different identities, but not to different account types. Arghhhh!!!!
Thanks!
Scot
I used this archive feature with the new Outlook WebApp version 2010. However, it does not archive the sentItems folder. Any idea why? Could you help with this? My quota of 2Gb is always getting overflow.
Thanks,
Rafael
When I run the script, it duplicates my Inbox's file structure nicely (but like Rob's there is an extra layer
Archives_2009
- Exchange
- Exchange
-Delete
-Drafts
-Inbox
trouble is that it stops after making the tree. (as if all the items are not older than 60 or 90 days - I've tried both) Since I have items going back to the start of the year, this ain't the case....
Ideas?