My users are saved in database named 'postfix' and in table named 'mailbox'. When I try to login by using: telnet localhost 143 and logging in - everything seems fine. When I try to login using squirrelmail (which I want to change to roundcube) - eveyrhing seems fine. But when I try to login to roundcube wemail client I get "Login failed". I use such a structure for saving users: /usr/local/virtual/domain.tld/user@domain.tld.
Do I need to user virtuser_query in main.inc.php of Roundcube ? If so: how the query woul look like?
I have tried also to use for virtuser_query smth like this: 'SELECT username FROM mailbox WHERE username = "%u"';
But - no result. Please help to find the problem.