Forum Discussion

Gian012's avatar
Gian012
Level 3
17 years ago
Solved

Exclude Junk Email and Sync Issues folder from being archived

How do you exclude Junk Email and Sync Issues folder from being archived? I found a way to exclude RSS feed by adding "IPM.POST.RSS" on Exchange Message Classes but I couldn't find an IPM for Junk Email and Sync Issues folder.
  • You could use EVPM:

    [Directory]
    DirectoryComputerName= SERVERNAME
    SiteName= VAULTSITE

    [Filter]
    Name= DoNotArchive

    [Mailbox]
    DistinguishedName= all
    ; ldapquery = (&(department= kvs*)(name= *test*))

    [Folder]
    Name= Junk E-mail
    FilterName= DoNotArchive
    OverrideArchiveLocks = True

    [Folder]
    Name= Sync Issues
    FilterName= DoNotArchive
    OverrideArchiveLocks = True

3 Replies

  • You could use EVPM:

    [Directory]
    DirectoryComputerName= SERVERNAME
    SiteName= VAULTSITE

    [Filter]
    Name= DoNotArchive

    [Mailbox]
    DistinguishedName= all
    ; ldapquery = (&(department= kvs*)(name= *test*))

    [Folder]
    Name= Junk E-mail
    FilterName= DoNotArchive
    OverrideArchiveLocks = True

    [Folder]
    Name= Sync Issues
    FilterName= DoNotArchive
    OverrideArchiveLocks = True

  • I've always wondered what people do in dynamic environments when they have requirements such as this. It seems odd to me that so many common tasks arent actually "features" of the program. In this example, would Gian012 need to create a job to run at least once a day to apply the EVPM settings to new mailboxes?
  • Yes, you have to schedule it.

    But what about Microsoft Exchange 2007 and PowerShell CmdLets?
    Is there a way to "schedule" them natively? I don't think so.... :)

    And scheduling a script is a really simple task, I think.
    Maybe we're seeing something in EV 2010. (Or EV 9) :)