From 9b3dc190fe7d22eb6cd569d778fe6ee2f8ad0cd7 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 12 Aug 2009 09:52:39 +0000 Subject: [PATCH] cyrusimap: make sure the username is converted to lowercase, when creating the mailboxstring --- emailadmin/inc/class.cyrusimap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailadmin/inc/class.cyrusimap.inc.php b/emailadmin/inc/class.cyrusimap.inc.php index 019a0603ab..96ebd56ef6 100644 --- a/emailadmin/inc/class.cyrusimap.inc.php +++ b/emailadmin/inc/class.cyrusimap.inc.php @@ -87,7 +87,7 @@ return false; } - $mailboxString = $nameSpaces['others'][0]['name'] . $_username . (!empty($_folderName) ? $nameSpaces['others'][0]['delimiter'] . $_folderName : ''); + $mailboxString = $nameSpaces['others'][0]['name'] . strtolower($_username) . (!empty($_folderName) ? $nameSpaces['others'][0]['delimiter'] . $_folderName : ''); if($this->loginType == 'vmailmgr') { $mailboxString .= '@'.$this->domainName;