> попробуй добавить юзверя http сервера (www-data?) в группу-владельца /etc/dovecot СПасибо! Заработало.
Но теперь проблема с Roundcube и IMAP
Ошибка "Неудачное соединение с IMAP сервером"
в логах
Jun 30 09:57:41 auth: Debug: auth client connected (pid=30425)
Jun 30 09:57:41 auth: Debug: client in: AUTH 1 PLAIN service=imap secured session=OTL77idT/Kd/AAAB lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=43004 resp=<hidden>
Jun 30 09:57:41 auth-worker(30426): Debug: Loading modules from directory: /usr/lib/dovecot/modules/auth
Jun 30 09:57:41 auth-worker(30426): Debug: Module loaded: /usr/lib/dovecot/modules/auth/libdriver_mysql.so
Jun 30 09:57:41 auth-worker(30426): Debug: sql(test@site.ru,127.0.0.1): query: SELECT username as user, password, '/var/vmail/site.ru/test' as userdb_home, 'maildir:/var/vmail/site.ru/test' as userdb_mail, 1150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = 'test@site.ru' AND active = '1'
Jun 30 09:57:41 auth: Debug: client passdb out: OK 1 user=test@site.ru
Jun 30 09:57:41 auth: Debug: master in: REQUEST 890765313 30425 1 73ef27cf1e5fe0d094399fb3434ed3e8 session_pid=30427 request_auth_token
Jun 30 09:57:41 auth-worker(30426): Debug: sql(test@site.ru,127.0.0.1): SELECT '/var/vmail/site.ru/test' as home, 'maildir:/var/vmail/site.ru/test' as mail, 1150 AS uid, 8 AS gid, concat('dirsize:storage=', quota) AS quota FROM mailbox WHERE username = 'test@site.ru' AND active = '1'
Jun 30 09:57:41 auth: Debug: master userdb out: USER 890765313 test@site.ru home=/var/vmail/site.ru/test mail=maildir:/var/vmail/site.ru/test uid=1150 gid=8 quota=dirsize:storage=0 auth_token=66a22b7220c0b3c3ea7b88c979992246dac66ddc
Jun 30 09:57:41 imap-login: Info: Login: user=<test@site.ru>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=30427, secured, session=<OTL77idT/Kd/AAAB>
Jun 30 09:57:41 imap(test@site.ru): Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jun 30 09:57:41 imap(test@site.ru): Debug: Module loaded: /usr/lib/dovecot/modules/lib20_autocreate_plugin.so
Jun 30 09:57:41 imap(test@site.ru): Debug: Added userdb setting: mail=maildir:/var/vmail/site.ru/test
Jun 30 09:57:41 imap(test@site.ru): Debug: Added userdb setting: plugin/quota=dirsize:storage=0
Jun 30 09:57:41 imap(test@site.ru): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead
Jun 30 09:57:41 imap(test@site.ru): Debug: Effective uid=1150, gid=8, home=/var/vmail/site.ru/test
Jun 30 09:57:41 imap(test@site.ru): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=no, hidden=no, list=yes, subscriptions=yes location=maildir:/var/vmail/site.ru/test
Jun 30 09:57:41 imap(test@site.ru): Debug: maildir++: root=/var/vmail/site.ru/test, index=, indexpvt=, control=, inbox=, alt=
Jun 30 09:57:41 imap(test@site.ru): Error: User initialization failed: namespace configuration error: inbox=yes namespace missing
Jun 30 09:57:41 imap: Error: Invalid user settings. Refer to server log for more information.