Fix IMAP connection

Hello friends, I really need your help.
I reinstalled OpenSSL with the command -reinstall openSSL.
It fell off completely before forever. Fortunately, there was a backup of the configs. I downloaded the configs and reinstalled all the packages. But the problem is that I can’t connect to the mail server either in the rundkuve or through clients, it says an IMAP error.
Logs roundcube/imap.log

[23-Mar-2024 18:46:21 +0300]: <3qrlplcv> [898C] Connecting to localhost:143...
[23-Mar-2024 18:46:21 +0300]: <3qrlplcv> [898C] S: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE
LITERAL+ STARTTLS AUTH=PLAIN AUTH=LOGIN] Mail Delivery Agent
[23-Mar-2024 18:46:21 +0300]: <3qrlplcv> [898C] C: A0001 AUTHENTICATE PLAIN ****** [41]
[23-Mar-2024 18:46:21 +0300]: <3qrlplcv> [898C] S: A0001 OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE I
DLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT C
HILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH L
IST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE QUOTA] Lo
gged in
[23-Mar-2024 18:46:21 +0300]: <3qrlplcv> [898C] C: A0002 ID ("name" "Roundcube" "version" "1.6.5" "php" "8.1.27" "os"
 "Linux" "command" "/?_task=login")
[23-Mar-2024 18:46:21 +0300]: <3qrlplcv> [898C] S: * BYE Internal error occurred. Refer to server log for more inform
ation.

Logs /roundcube/errors.log

[23-Mar-2024 18:46:21 +0300]: <3qrlplcv> IMAP Error: Login failed for admin@mydomen against localhost from myIP. ID: Internal error occurred. Refer to server log for more information. in /var/lib/roundcube/program/lib/Roun
dcube/rcube_imap.php on line 211 (POST /?_task=login&_action=login)

I was able to solve this problem,

file /etc/dovecot/conf.d/15-namespace.conf will be deleted
and restart dovecot