Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Report of statistics for user storage/activity (Would like a report of what users have what emails in what folders)

Messages: 109
Karma: 0
Send a private message to this user
Maybe I missed this in the documentation but I am looking for a way to know the amount of emails users are storing on the server and in what folders. This may involves a separate script running through the mail files and if so, i am hoping there already is one available.

Possible uses:
If a user configured the mail client to not remove downloaded emails from the server.

If a user initially setup server filtering so that they are not in inbox (such as the default checked "Move spam to the Junk E-mail folder") but only accesses email via pop. They would never see the diverted emails. In such a case they would have a large Junk E-mail folder.

Messages: 2119
Karma: 3
Send a private message to this user
You can view how much a user is storing from Administration Console. simply go to Domain Settings --> Users and enable the 'storage used' etc. columns.

If you want to know detailed info like in which folders messages are stored, you'd have to go into the server's file system and inspect the folders there.

Messages: 159
Karma: 0
Send a private message to this user
Map a drive to your mail store and run TreeSize Professional.

Screen shot attached;

  • Attachment: treesize.jpg
    (Size: 119.60KB, Downloaded 402 times)

Messages: 192
Karma: 0
Send a private message to this user
If you're running on windows and have powershell installed, you can run this script from the store directory and it will create a file called dirsize.txt with a listing of all directories and their file size. Note, I have not tested this against a Kerio mail store since our server is on linux, but it should work. Use at your own risk.

function Get-Size($dir=".")

$ds = get-item $dir | % { $f = $_; get-childitem -r $_.FullName | measure-object -property length -sum -ErrorAction SilentlyContinue | select <_a.t_>{Name="Name";Expression={$f}},Sum}

$ds | foreach-object { if ( $_.Sum -le 999KB) {$_.Sum = ([string]::Format("{0:#.##}",($_.Sum)/1KB)) + " KB" ; $_ } elseif ( $_.Sum -le 999MB) {$_.Sum = ([string]::Format("{0:#.##}",($_.Sum)/1MB)) + " MB" ; $_ } elseif ( $_.Sum -le 999GB) {$_.Sum = ([string]::Format("{0:#.##}",($_.Sum)/1GB)) + " GB" ; $_ }}

ls -recurse | %{if($_.Mode -eq "d----"){get-size $_.pspath}} | out-file dirsize.txt

*note replace the <at> with the real "at sign" since the bb code seems to nuke it
Previous Topic: Global Address Book has dissappeared
Next Topic: KOFF and WDS 3?
Goto Forum:

Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sat Oct 21 21:21:29 CEST 2017

Total time taken to generate the page: 0.00431 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.