With the following commando, you can perform an offline defragmentation of the maildatabase. Be sure that you dismount the specific database before you start the commando.
“D:\ExchSvr\Bin\eseutil.exe” /d “E:\SG1MD1\SG1MD1.edb” /t “D:\TEMP\temp_defrag.edb”
The path to the de maildatabase can be different in some environments, so you have to change that path manualy.
E:\temp\temp_defrag.edb is the path and filename for the tempdatabase. This can also changed manualy.
Make sure you dismount the specific mailstore.