After creating a exchange mailbox sensor for a specific mailbox with 3 mails in "deleted mails" folder and no other mails in other folders the sensor shows that 117 mails ("Anzahl E-Mails") have been found in the mailbox. In the exchange management console I can confirm the number of 117 to be the number of elements (not only mails) in the mailbox. How can I make the sensor count only the mails and not every kind of element in the mailbox?
Article Comments
I have no idea. There are no (visible) elements in most folders (and those which are visable are way less than 100..). All I can see is that in powershell (Get-MailboxFolderStatistics) the following non-empty folders are found:
Name ItemsInFolder ---- ------------- Archiv 108 Gelöschte Elemente 3 Kalender 2 Posteingang 2 Deletions 1
I can confirm that "Gelöschte Elemente" contains 3 mails (i can see them in Outlook) but all other folders are empty (or at least in outlook i can see no mails).
Jun, 2020 - Permalink
Unfortunately, it's not possible to tell the Sensor which elements to count. The mailbox should preferrably be cleaned out in order for the Sensor to show correct metrics. What "Elements" are we talking about here? :)
Jun, 2020 - Permalink