Try this module, might be easier:
http://forums.sentora.org/showthread.php?tid=1011
http://forums.sentora.org/showthread.php?tid=1011
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora
Graphic and Web Design. Development.
www.vanguardly.com
[Module] Mail Quota Count | Vagrant Box with Sentora
Graphic and Web Design. Development.
www.vanguardly.com