cancel
Showing results for 
Search instead for 
Did you mean: 

how can I archive all messages in a mailbox when a user leaves?

bruce_drenning
Level 4
I'd like to archive all the email for departing users, and then grant access to their archive for whoever requests it.

1. How do I archive all the messages (our default is 90 days)?

2. After I assign permissions to the archive, how can I make that take effect so the person who needs access to it can have it show up in their dropdown list of searchable archives right away?

thanks
1 REPLY 1

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
After you assign permissions do a manual synch to propagate the perms.
you can use the following evpm script, remember you will need to either do a run now or what for the schedule archive for the actual archiving to occur.

;This Script will archive every item in the Mailbox
;If shortcuts are left over, that's because the item is already in the vault
;Start Script

DirectoryComputername =
SiteName =


Name = oneshotarchive
CreateShortcut = false
DeleteOriginal = true
UnreadMaiL = true
UseInactivityPeriod = true
InactivityUnits = days
InactivityPeriod = 0


DistinguishedName =


Name = mailboxroot
Suspended = false
Filtername = oneshotarchive
OverrideArchiveLocks = true
RetentionCategory = Business
;End Script