Jason_Sauer_2
20 years agoLevel 4
EVPM question - creating a folder for auto archiving
Thanks to info I've found in these forums and in the documentation, I was able to make a script to automatically archive items in a particular folder after 0 days, unfortunately, simply creating the script was the easy part, getting it to work is where I'm having a problem.
The results of the EVPM command indicated that the mailbox has been processed and an AutoArchive folder has been successfully created at the root of the user's mailbox. Then we add messages and subfolders with messages to the AutoArchive folder; running the EVPM command again does not archive any of the messages.
;
; Script to automatically archive items in AutoArchive folder
;
;Start Script
DirectoryComputerName = ***
SiteName = ***
Name = AutoArchiveFilter
CreateShortcut = true
DeleteOriginal = true
UnreadMail = true
UseInactivityPeriod = true
InactivityUnits = days
InactivityPeriod = 0
LDAPquery = mailNickname= ***
Name = \AutoArchive
NonDeletable = True
FilterName = AutoArchiveFilter
OverrideArchiveLocks = True
RetentionCategory=Business
;End Script
Does it have something to do with the 0 days part? I don't know what I'm missing here... thanks for any help!
The results of the EVPM command indicated that the mailbox has been processed and an AutoArchive folder has been successfully created at the root of the user's mailbox. Then we add messages and subfolders with messages to the AutoArchive folder; running the EVPM command again does not archive any of the messages.
;
; Script to automatically archive items in AutoArchive folder
;
;Start Script
DirectoryComputerName = ***
SiteName = ***
Name = AutoArchiveFilter
CreateShortcut = true
DeleteOriginal = true
UnreadMail = true
UseInactivityPeriod = true
InactivityUnits = days
InactivityPeriod = 0
LDAPquery = mailNickname= ***
Name = \AutoArchive
NonDeletable = True
FilterName = AutoArchiveFilter
OverrideArchiveLocks = True
RetentionCategory=Business
;End Script
Does it have something to do with the 0 days part? I don't know what I'm missing here... thanks for any help!