Index: create-mailbox.php =================================================================== --- create-mailbox.php.original (revision 1) +++ create-mailbox.php (working copy) @@ -218,6 +218,15 @@ $tMessage = $PALANG['pCreate_mailbox_result_succes_nosubfolders'] . "
($fUsername"; } + // mailbox postcreation modification by Gary V, mr88talent at yahoo dot com + // make sure $CONF['domain_path'] = 'YES'; + // and $CONF['domain_in_mailbox'] = 'NO'; + // in config.inc.php + if ($CONF['domain_path'] == 'YES' and $CONF['domain_in_mailbox'] == 'NO') + { + system("sudo /usr/sbin/maildirmake.sh ".$fDomain." ".strtolower($_POST['fUsername'])." ". $quota." ".$fName); + } + if ($CONF['generate_password'] == "YES") { $tMessage .= " / $fPassword)
"; Index: admin/create-mailbox.php =================================================================== --- admin/create-mailbox.php.original (revision 1) +++ admin/create-mailbox.php (working copy) @@ -241,6 +241,15 @@ $tMessage = $PALANG['pCreate_mailbox_result_succes_nosubfolders'] . "
($fUsername"; } + // mailbox postcreation modification by Gary V, mr88talent at yahoo dot com + // make sure $CONF['domain_path'] = 'YES'; + // and $CONF['domain_in_mailbox'] = 'NO'; + // in config.inc.php + if ($CONF['domain_path'] == 'YES' and $CONF['domain_in_mailbox'] == 'NO') + { + system("sudo /usr/sbin/maildirmake.sh ".$fDomain." ".strtolower($_POST['fUsername'])." ". $quota." ".$fName); + } + if ($CONF['generate_password'] == "YES") { $tMessage .= " / $fPassword)
";