Thanks for the answer, I have already understood. At me has earned with such line:
$rcmail_config['password_query'] = 'SELECT users SET password=ENCRYPT (%p) WHERE email=%u LIMIT 1';
I have correctly understood, what it is necessary to specify in $rcmail_config [' password_db_dsn '] base of users of a mail, instead of base roundcube? It is safe?