cancel
Showing results for 
Search instead for 
Did you mean: 

Auto Archive??

Steve_Lowson
Level 4
Hello Everyone,
 
EV 6.0 SP3
Exchange Server 2003
 
Does anyone know if it's possible to put all mail items into the vault automatically.
 
i.e. A user leaves the company and the mailbox is marked for deletion, I then want to put all mail items into the vault so i can archive to PST and put in our safe for compliance reasons.
 
Is this possible??
 
Thanks

Steve
1 ACCEPTED SOLUTION

Accepted Solutions

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Using your own mailbox eh?  You should really create a test mb to work with. ;)
 
The script isn't running every night, you just have that policy applied.
 
You can zap your mailbox using the following script, then synch your mb again and you should be back to normal.
 
[Directory]
DirectoryComputerName = Vaultserverthathostsdirectoryservice
Sitename = sitenamefromadminconsole
[Mailbox]
DistinguishedName = /o=organization/ou=mailboxou/cn=Recipients/cn=mailboxcname
[Folder]
Name = Mailboxroot
Zap = True
 
 
Cheers,

View solution in original post

12 REPLIES 12

Maynard_K
Level 6
Employee
Well, you could create a new "archiving policy" that archives all items and then generate an EVPM script to assign this policy to the user's in question.

Steve_Lowson
Level 4
Thanks,
 
I have created the new policy and set all items to younger than 0 days and older than 0 days to archive, how do i do/use the EVPM script???
 
 

Maynard_K
Level 6
Employee
Take a look at the Utilities Guide for 6 SP3, the Policy Manager section outta provide further details.
 
support.veritas.com/docs/284468
 
 

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Your script will look something like this:
 
;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

[Directory]
DirectoryComputername =
SiteName =
 
[Filter]
Name = oneshotarchive
CreateShortcut = false
DeleteOriginal = true
UnreadMaiL = true
UseInactivityPeriod = true
InactivityUnits = days
InactivityPeriod = 0
 
[Mailbox]
DistinguishedName =
 
[Folder]
Name = mailboxroot
Suspended = false
Filtername = oneshotarchive
OverrideArchiveLocks = true
RetentionCategory = Business
 

Steve_Lowson
Level 4
Thanks a lot lads, I have tried to run the script Tony has kindly left and amended the values,

I keep getting the error on the DistinguishedName:
 
The error states
 
Error - Whilst processing mailbox with dn: Steve Lowson
 
have you any idea what value it is looking for???
 
Thanks again

Steve
 
[Directory]
DirectoryComputername = EYNFIL01
SiteName = EYN Vault Site
 
[Filter]
Name = oneshotarchive
CreateShortcut = false
DeleteOriginal = true
UnreadMaiL = true
UseInactivityPeriod = true
InactivityUnits = days
InactivityPeriod = 0
 
[Mailbox]
DistinguishedName = Steve Lowson
 
[Folder]
Name = mailboxroot
Suspended = false
Filtername = oneshotarchive
OverrideArchiveLocks = true
RetentionCategory = Business

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Do a Run Now in report mode against Steve Lowson.  Open the report and you will see the distinguished name you need to put in the script.
 
Regards,

Steve_Lowson
Level 4
Tony,
 
thanks for all your help, sorry to ask a stupid question but could you expand on the above post?
 
I'm not sure how to use the run now report mode.
 
cheers

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
No worries, right click the archive task for the user and choose Run Now.  You will then check Report Mode and Selected Users.  Choose the chap you are wanting to run the script for and a report will be created in the Reports folder in the x:\Program Files\Enterprise Vault subdirectory.
 
Regards,
 

Steve_Lowson
Level 4
Ignore that mate, i think i've sussed it!!

Steve_Lowson
Level 4
Tony, this works a treat so thanks a lot.
 
I tested this on my own mailbox before using it on all mailboxes marked for deletion.
 
I notice that it runs the script every night and all my own items are getting vauled every evening, is there a way to stop it running every night??
 
Cheers
 
Steve

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Using your own mailbox eh?  You should really create a test mb to work with. ;)
 
The script isn't running every night, you just have that policy applied.
 
You can zap your mailbox using the following script, then synch your mb again and you should be back to normal.
 
[Directory]
DirectoryComputerName = Vaultserverthathostsdirectoryservice
Sitename = sitenamefromadminconsole
[Mailbox]
DistinguishedName = /o=organization/ou=mailboxou/cn=Recipients/cn=mailboxcname
[Folder]
Name = Mailboxroot
Zap = True
 
 
Cheers,

Steve_Lowson
Level 4
Thank you, thank you, thank you.
 
all perfect once again