How-To Resize mailbox size in Zpanel on Ubuntn 12.04

Running a Zpanel on a Linux server and you want to resize the users mailboxes? This is how to do that.

The standard size of mailboxes in Zpanel is 200Mb

You can change the size of new mailboxes in:
Admin -> module admin -> Mail Config -> Max Mailbox Size
Remember that only new created mailboxes will have this size!

Backup MySQL Vtiger Database and compress it with zip

Here is a one-liner to backup your VTiger database, give it a timestamp and zip it.

export TMPDATE=$(date +%Y%m%d-%H%M); mysqldump -p vtigercrm50 > $TMPDATE"_vtigercrm50.sql" ; zip $TMPDATE"" $TMPDATE"_vtigercrm50.sql" ; rm $TMPDATE"_vtigercrm50.sql"

Some explanation: