cancel
Showing results for 
Search instead for 
Did you mean: 

cannot disable archving for a folder for all users

Ahmed_Abd_ElGel
Level 4
Partner Accredited
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 2

Rob_Wilcox1
Level 6
Partner
LDAP query ..........


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

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


Working for cloudficient.com

JesusWept
Level 3

you could also do

DistinguishedName = ALL

and that will target all enabled EV users