Author Topic: Dovecot-Postfix-Mysql-Virtual Users  (Read 6418 times)

Offline bichumo

  • Newbie
  • *
  • Posts: 5
Dovecot-Postfix-Mysql-Virtual Users
« on: August 13, 2007, 04:47:50 AM »
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.