GDR\!
2012-05-24 2712e3200c69aa2ebcfe488d7941c3ad77c917bb
plugins/password/drivers/virtualmin.php
@@ -48,6 +48,10 @@
            $pieces = explode("_", $username);
            $domain = $pieces[0];
            break;
      case 8: // domain taken from alias, username left as it was
         $email = $rcmail->user->data['alias'];
         $domain = substr(strrchr($email, "@"), 1);
         break
        default: // username@domain
            $domain = substr(strrchr($username, "@"), 1);
        }