[RCD] [PATCH] Allow dovecot's master users

A.L.E.C alec at alec.pl
Thu Mar 31 08:08:21 CEST 2011


On 31.03.2011 01:56, Simone Caruso wrote:

> --- rcmail.php     2011-03-31 01:45:11.000000000 +0200
> +++ rcmail.php  2011-03-31 01:45:27.000000000 +0200
> @@ -694,7 +694,7 @@
>       $host = rcube_idn_to_ascii($host);
>       if (strpos($username, '@')) {
>         // lowercase domain name
> -      list($local, $domain) = explode('@', $username);
> +      list($local, $domain) = explode('@', $username, 2);
>         $username = $local . '@' . mb_strtolower($domain);
>         $username = rcube_idn_to_ascii($username);
>       }
> 
> it would be nice to not creating a user configuration (users table) for dovecot 
> master users.

I saw somewhere a plugin for master user logins. Doesn't it handle this
properly? Maybe the patch is not needed there?

-- 
Aleksander 'A.L.E.C' Machniak
LAN Management System Developer [http://lms.org.pl]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80



More information about the Dev mailing list