--- edit-mailbox.php.original 2007-06-10 16:21:30.000000000 -0600 +++ edit-mailbox.php 2007-06-30 21:28:48.000000000 -0600 @@ -146,6 +146,10 @@ } else { + $tmp = preg_split ('/@/', $fUsername); + $USERID_LOCALPART = $tmp[0]; + system("sudo /usr/sbin/quotachange.sh ".$fDomain." ".$USERID_LOCALPART." ". $quota); + db_log ($CONF['admin_email'], $fDomain, "edit mailbox", $fUsername); header ("Location: list-virtual.php?domain=$fDomain");