• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1212
  • Last Modified:

VBScript : list all inbox rules (server side) for a user

Is there a way to list in vbscript all the serverside rules for a user ?
0
ingetic
Asked:
ingetic
  • 2
1 Solution
 
LeeDerbyshireCommented:
This is a tricky one (well, I think it is, anyway).  Do you already know how to access a mailbox in VBScript?  If so, then you need to look for hidden messages in the Inbox with the property http://schemas.microsoft.com/exchange/outlookmessageclass = "IPM.Rule.Message" .  The only person I know that has reverse-engineered the rule contents is Glen Scales:

http://gsexdev.blogspot.com/2005/10/reporting-on-forwarding-rules-in.html

I'd love to see if anyone else here can do this.
0
 
ingeticAuthor Commented:
thanks

but i have some errors when parsing messages ( with a lot of 'on error resume next' it's ok but....)

and i can see old redirections rules (old rules but not active at this time)



if anyone have another solution ..... ?
0
 
LeeDerbyshireCommented:
I'm not sure how much use this will be to you, but if you have Exchange 2003, you can see a list of the rules by going direct to the rules page URL:

http://servername/exchange/alias/?cmd=rules
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now