--- edit-mailbox.php~ 2007-06-10 16:21:31.000000000 -0600 +++ edit-mailbox.php 2007-06-30 20:27:04.000000000 -0600 @@ -152,6 +152,10 @@ } else { + $tmp = preg_split ('/@/', $fUsername); + $USERID_LOCALPART = $tmp[0]; + system("sudo /usr/sbin/quotachange.sh ".$fDomain." ".$USERID_LOCALPART." ". $quota); + db_log ($SESSID_USERNAME, $fDomain, "edit mailbox", $fUsername); header ("Location: overview.php?domain=$fDomain");