diff --git a/create-mailbox.php b/create-mailbox.php index 7b63e3c7..513c3c63 100644 --- a/create-mailbox.php +++ b/create-mailbox.php @@ -168,7 +168,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") } else { - $maildir = $fDomain . "/" . escape_string ($_POST['fUsername']) . "/"; + $maildir = $fDomain . "/" . escape_string (strtolower($_POST['fUsername'])) . "/"; } } else