Обновил Dovecot на 1.2.4, всё нормально работает. Изначально пришлось sql запрос подредактировать как сказано на оф. сайте. Суть проблемы в том что при установке квот, квота не отображается в roundcube и не понятно работает или нет .
log dovecot
Код: Выделить всё
Sep 04 16:49:07 dovecot: Info: Dovecot v1.2.4 starting up
Sep 04 16:49:07 auth-worker(default): Info: mysql: Connected to localhost (postfix)
Sep 04 16:49:08 auth(default): Info: new auth connection: pid=2246
Sep 04 16:49:08 auth(default): Info: new auth connection: pid=2247
Sep 04 16:49:08 auth(default): Info: new auth connection: pid=2245
Sep 04 16:49:33 auth(default): Info: client in: AUTH 1 PLAIN service=imap secured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=60998 resp=<hidden>
Sep 04 16:49:33 auth-worker(default): Info: sql(vasya@domain.ru,127.0.0.1): query: SELECT `username` as `user`, `password` FROM `mailbox` WHERE `username` = 'vasya@domain.ru' AND `active` = '1'
Sep 04 16:49:33 auth(default): Info: client out: OK 1 user=vasya@domain.ru
Sep 04 16:49:33 auth(default): Info: master in: REQUEST 1 2246 1
Sep 04 16:49:33 auth-worker(default): Info: sql(vasya@domain.ru,127.0.0.1): SELECT CONCAT('/var/mail/exim/',LCASE(`maildir`)) AS `home`, 26 AS `uid`, 26 AS `gid` FROM `mailbox` WHERE `username` = LCASE('vasya@domain.ru') AND `active`='1'
Sep 04 16:49:33 auth(default): Info: master out: USER 1 vasya@domain.ru home=/var/mail/exim/vasya@domain.ru/ uid=26 gid=26
Sep 04 16:49:33 imap-login: Info: Login: user=<vasya@domain.ru>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Loading modules from directory: /usr/local/lib/dovecot/imap
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Module loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Effective uid=26, gid=26, home=/var/mail/exim/vasya@domain.ru/
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Quota root: name=vasya@domain.ru quota backend=maildir args=
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Quota rule: root=vasya@domain.ru quota mailbox=* bytes=104857600 messages=0
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: maildir: data=/usr/spool/virtual/vasya@domain.ru
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: maildir++: root=/usr/spool/virtual/vasya@domain.ru, index=, control=, inbox=/usr/spool/virtual/vasya@domain.ru
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Disconnected: Logged out bytes=74/1359
Sep 04 16:49:33 auth(default): Info: new auth connection: pid=2249
Sep 04 16:49:33 auth(default): Info: client in: AUTH 1 PLAIN service=imap secured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=55275 resp=<hidden>
Sep 04 16:49:33 auth-worker(default): Info: sql(vasya@domain.ru,127.0.0.1): query: SELECT `username` as `user`, `password` FROM `mailbox` WHERE `username` = 'vasya@domain.ru' AND `active` = '1'
Sep 04 16:49:33 auth(default): Info: client out: OK 1 user=vasya@domain.ru
Sep 04 16:49:33 auth(default): Info: master in: REQUEST 2 2249 1
Sep 04 16:49:33 auth-worker(default): Info: sql(vasya@domain.ru,127.0.0.1): SELECT CONCAT('/var/mail/exim/',LCASE(`maildir`)) AS `home`, 26 AS `uid`, 26 AS `gid` FROM `mailbox` WHERE `username` = LCASE('vasya@domain.ru') AND `active`='1'
Sep 04 16:49:33 auth(default): Info: master out: USER 2 vasya@domain.ru home=/var/mail/exim/vasya@domain.ru/ uid=26 gid=26
Sep 04 16:49:33 imap-login: Info: Login: user=<vasya@domain.ru>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Loading modules from directory: /usr/local/lib/dovecot/imap
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Module loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Effective uid=26, gid=26, home=/var/mail/exim/vasya@domain.ru/
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Quota root: name=vasya@domain.ru quota backend=maildir args=
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Quota rule: root=vasya@domain.ru quota mailbox=* bytes=104857600 messages=0
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: maildir: data=/usr/spool/virtual/vasya@domain.ru
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: maildir++: root=/usr/spool/virtual/vasya@domain.ru, index=, control=, inbox=/usr/spool/virtual/vasya@domain.ru
Sep 04 16:49:33 IMAP(vasya@domain.ru): Info: Namespace : Using permissions from /usr/spool/virtual/vasya@domain.ru: mode=0700 gid=-1
Sep 04 16:49:34 IMAP(vasya@domain.ru): Info: Disconnected: Logged out bytes=530/25211
Sep 04 16:49:34 auth(default): Info: new auth connection: pid=2251
Sep 04 16:49:35 auth(default): Info: client in: AUTH 1 PLAIN service=imap secured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=63256 resp=<hidden>
Sep 04 16:49:35 auth-worker(default): Info: sql(vasya@domain.ru,127.0.0.1): query: SELECT `username` as `user`, `password` FROM `mailbox` WHERE `username` = 'vasya@domain.ru' AND `active` = '1'
Sep 04 16:49:35 auth(default): Info: client out: OK 1 user=vasya@domain.ru
Sep 04 16:49:35 auth(default): Info: master in: REQUEST 3 2251 1
Sep 04 16:49:35 auth-worker(default): Info: sql(vasya@domain.ru,127.0.0.1): SELECT CONCAT('/var/mail/exim/',LCASE(`maildir`)) AS `home`, 26 AS `uid`, 26 AS `gid` FROM `mailbox` WHERE `username` = LCASE('vasya@domain.ru') AND `active`='1'
Sep 04 16:49:35 auth(default): Info: master out: USER 3 vasya@domain.ru home=/var/mail/exim/vasya@domain.ru/ uid=26 gid=26
Sep 04 16:49:35 imap-login: Info: Login: user=<vasya@domain.ru>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Sep 04 16:49:35 IMAP(vasya@domain.ru): Info: Loading modules from directory: /usr/local/lib/dovecot/imap
Sep 04 16:49:35 IMAP(vasya@domain.ru): Info: Module loaded: /usr/local/lib/dovecot/imap/lib10_quota_plugin.so
Sep 04 16:49:35 IMAP(vasya@domain.ru): Info: Effective uid=26, gid=26, home=/var/mail/exim/vasya@domain.ru/
Sep 04 16:49:35 IMAP(vasya@domain.ru): Info: Quota root: name=vasya@domain.ru quota backend=maildir args=
Sep 04 16:49:35 IMAP(vasya@domain.ru): Info: Quota rule: root=vasya@domain.ru quota mailbox=* bytes=104857600 messages=0
Sep 04 16:49:35 IMAP(vasya@domain.ru): Info: maildir: data=/usr/spool/virtual/vasya@domain.ru
Sep 04 16:49:35 IMAP(vasya@domain.ru): Info: maildir++: root=/usr/spool/virtual/vasya@domain.ru, index=, control=, inbox=/usr/spool/virtual/vasya@domain.ru
Sep 04 16:49:35 IMAP(vasya@domain.ru): Info: Disconnected: Logged out bytes=24/357
Sep 04 16:49:35 auth(default): Info: new auth connection: pid=2253
Код: Выделить всё
protocol imap {
mail_plugins = quota imap_quota
}
protocol lda {
mail_plugins = quota
plagin {
quota=maildir:User quota
quota_rule=*:storage=102400
}