Forum Discussion

Ahmed_Abd_ElGel's avatar
15 years ago

cannot disable archving for a folder for all users

dears,
i've a demand to disable archiving for Both Junk Folder & RSS folder

--------------------------------------------------------------------------------------------
[Directory]
DirectoryComputername = <evservername>
SiteName = <evsitename>

[Mailbox]
LDAPquery = ????????????????

[Folder]
Name = \Junk E-Mail
Filtername = DoNotArchive
OverrideArchiveLocks = true
-----------------------------------------------------------------------

i've tried the above EVPM script , but i didn't success to write a valid LDAPquery to retrieve all users

hope to find a solution from you

thanks in advance
Ahmed Abd ELGelil

2 Replies

  • LDAP query ..........


     Be sure to test in your own test environment before running in production, but the following should work.

    LDAPQuery=(&(mailnickname=*)(objectclass=user))


  • you could also do

    DistinguishedName = ALL

    and that will target all enabled EV users