[RCU] Can't login with username alone

Tolga tolga at ozses.net
Thu Aug 4 23:53:45 CEST 2011


Hi,

I have several domains hosted on my box. At the moment, I am logging on 
with username at domain scheme, but I'd like to be able to login with the 
username scheme. I've already configured the drop-down with the mail 
servers. A row from my database looks like this

+---------------------------+------------------------------------+-----------------+----------------------------+-------+------------+---------------------+---------------------+---------------------+--------+
| username                  | password                           | 
name            | maildir                    | quota | local_part | 
domain              | created             | modified            | active |
+---------------------------+------------------------------------+-----------------+----------------------------+-------+------------+---------------------+---------------------+---------------------+--------+
| bilgi at bilgisayarciniz.org | x | bilgisayarciniz | 
bilgisayarciniz.org/bilgi/ |     0 | bilgi      | bilgisayarciniz.org | 
2011-04-10 11:28:58 | 2011-06-22 13:15:09 |      1 |
+---------------------------+------------------------------------+-----------------+----------------------------+-------+------------+---------------------+---------------------+---------------------+--------+
1 row in set (0.00 sec)


and the related line in main.inc.php looks like this

$rcmail_config['virtuser_query'] = "SELECT username FROM postfix.mailbox 
WHERE local_part = '%u'";

How should I change the virtuser_query?

Regards,
-- 
List info: http://lists.roundcube.net/users/
BT/9b404e9e



More information about the users mailing list