SF.net SVN: postfixadmin:[465] trunk/create-mailbox.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <Gin...@us...> - 2008-10-11 19:58:39
|
Revision: 465
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=465&view=rev
Author: GingerDog
Date: 2008-10-11 19:58:34 +0000 (Sat, 11 Oct 2008)
Log Message:
-----------
create-mailbox.php: force username to be lowercase - this helps some IMAP clients apprently
Modified Paths:
--------------
trunk/create-mailbox.php
Modified: trunk/create-mailbox.php
===================================================================
--- trunk/create-mailbox.php 2008-10-11 07:43:11 UTC (rev 464)
+++ trunk/create-mailbox.php 2008-10-11 19:58:34 UTC (rev 465)
@@ -259,6 +259,9 @@
To be compared / merged.
*/
+ // apparently uppercase usernames really confuse some IMAP clients.
+ $fUsername = strtolower($fUsername);
+
$result = db_query ("INSERT INTO $table_mailbox (username,password,name,maildir,quota,domain,created,modified,active) VALUES ('$fUsername','$password','$fName','$maildir','$quota','$fDomain',NOW(),NOW(),'$sqlActive')");
if ($result['rows'] != 1 || !mailbox_postcreation($fUsername,$fDomain,$maildir, $quota))
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|