1 (edited by Ange7 2015-07-23 17:23:55)

Topic: [SOLVED] Server Error : Mailbox is read-only

==== Required information ====
- iRedMail version: 0.9.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Nginx
- Linux/BSD distribution name and version:  Debian Jessie
- Related log if you're reporting an issue:
====

With fresh installation of iRedMail on fresh server, when i'm logged in roundcube, i want delete one email so i click on «trash icon» and i have this message :

«Server Error : Mailbox is read-only»

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [SOLVED] Server Error : Mailbox is read-only

Any related error in Dovecot log file?

3

Re: [SOLVED] Server Error : Mailbox is read-only

No error in dovecot log or syslog

4

Re: [SOLVED] Server Error : Mailbox is read-only

*) Does restarting Dovecot service fix this issue?
*) Any error log in /var/log/dovecot.log after restarting Dovecot service?

If no related log, i'm afraid that i have no clue.

5

Re: [SOLVED] Server Error : Mailbox is read-only

No error :-/

6

Re: [SOLVED] Server Error : Mailbox is read-only

*) Is disk space full?
*) Does restarting server (not restarting dovecot service) fix this issue?
*) Are /var/vmail/vmail1 and /var/vmail/sieve owned by user/group "vmail:vmail"?
*) Any related log in /var/log/dovecot.log when you try to access webmail to reproduce this error?

Cannot help troubleshoot without related log.

7

Re: [SOLVED] Server Error : Mailbox is read-only

*) not disk space is full : /dev/xvdb          4,9G    632M  4,1G  14% /var
*) Reboot not fix
*) drwx------ 2 vmail vmail 4096 mai   28 10:14 sieve
drwx------ 3 vmail vmail 4096 mai   28 09:51 vmail1
*) When im login i have :

Jun 04 13:29:10 imap-login: Info: Login: user=<{USER}>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=22606, secured, session=<p1H8e68XpQB/AAAB>
Jun 04 13:29:10 imap({USER}): Info: Disconnected: Logged out in=82 out=682
Jun 04 13:29:10 imap-login: Info: Login: user=<{USER}>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=22610, secured, session=<QFL+e68XqQB/AAAB>
Jun 04 13:29:10 imap({USER}): Info: Disconnected: Logged out in=70 out=630
Jun 04 13:29:11 imap-login: Info: Login: user=<{USER}>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=22614, secured, session=<SScHfK8XqwB/AAAB>
Jun 04 13:29:11 imap-login: Info: Login: user=<{USER}>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=22616, secured, session=<PWwHfK8XrQB/AAAB>
Jun 04 13:29:11 imap({USER}): Info: Disconnected: Logged out in=357 out=1430
Jun 04 13:29:11 imap({USER}): Info: Disconnected: Logged out in=325 out=2972

8

Re: [SOLVED] Server Error : Mailbox is read-only

Could you please turn on debug mode in Dovecot and try to access webmail to reproduce this issue again? Then check if there's any related log in dovecot log file.

Reference:
http://www.iredmail.org/docs/debug.dovecot.html

9

Re: [SOLVED] Server Error : Mailbox is read-only

Dovecot log

Jun 05 09:04:51 auth: Debug: auth client connected (pid=24872)
Jun 05 09:04:51 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    session=XteJ6L8XfgB/AAAB    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=38014    resp=AGFyQGRldm5jby5mcgBiaXg1cno2cA== (previous base64 data may contain sensitive data)
Jun 05 09:04:51 auth-worker(24857): Debug: sql({USER},127.0.0.1): query: SELECT password, allow_nets FROM mailbox WHERE username='{USER}' AND enableimapsecured=1 AND active=1
Jun 05 09:04:51 auth: Debug: client passdb out: OK    1    user={USER}
Jun 05 09:04:51 auth: Debug: master in: REQUEST    2988703745    24872    1    a81e0e0ca87d6df45a4588eefa8f8f0c    session_pid=24873    request_auth_token
Jun 05 09:04:51 auth-worker(24857): Debug: sql({USER},127.0.0.1): SELECT '{USER}' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='{USER}' AND mailbox.domain='{domain.tld}' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Jun 05 09:04:51 auth: Debug: master userdb out: USER    2988703745    {USER}    master_user={USER}    home=/var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27/    quota_rule=*:bytes=0    auth_token=8f39da0e7ef004a6d2c73cd20a947c81434ad7aa
Jun 05 09:04:51 imap-login: Info: Login: user=<{USER}>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=24873, secured, session=<XteJ6L8XfgB/AAAB>
Jun 05 09:04:51 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jun 05 09:04:51 imap: Debug: Added userdb setting: plugin/master_user={USER}
Jun 05 09:04:51 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
Jun 05 09:04:51 imap({USER}): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27/
Jun 05 09:04:51 imap({USER}): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jun 05 09:04:51 imap({USER}): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota grace: root=user bytes=0 (10%)
Jun 05 09:04:51 imap({USER}): Debug: dict quota: user={USER}, uri=proxy::quotadict, noenforcing=0
Jun 05 09:04:51 imap({USER}): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/:INDEX=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/
Jun 05 09:04:51 imap({USER}): Debug: maildir++: root=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir, index=, indexpvt=, control=, inbox=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir, alt=
Jun 05 09:04:51 imap({USER}): Debug: acl: initializing backend with data: vfile
Jun 05 09:04:51 imap({USER}): Debug: acl: acl username = {USER}
Jun 05 09:04:51 imap({USER}): Debug: acl: owner = 1
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: Global ACLs disabled
Jun 05 09:04:51 imap({USER}): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Jun 05 09:04:51 imap({USER}): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jun 05 09:04:51 imap({USER}): Debug: acl: initializing backend with data: vfile
Jun 05 09:04:51 imap({USER}): Debug: acl: acl username = {USER}
Jun 05 09:04:51 imap({USER}): Debug: acl: owner = 0
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: Global ACLs disabled
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Sent/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Junk/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Trash/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Notes/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Drafts/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Info: Disconnected: Logged out in=82 out=682
Jun 05 09:04:51 auth: Debug: auth client connected (pid=24874)
Jun 05 09:04:51 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    session=8wSL6L8XgAB/AAAB    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=38016    resp=AGFyQGRldm5jby5mcgBiaXg1cno2cA== (previous base64 data may contain sensitive data)
Jun 05 09:04:51 auth-worker(24857): Debug: sql({USER},127.0.0.1): query: SELECT password, allow_nets FROM mailbox WHERE username='{USER}' AND enableimapsecured=1 AND active=1
Jun 05 09:04:51 auth: Debug: client passdb out: OK    1    user={USER}
Jun 05 09:04:51 auth: Debug: master in: REQUEST    450756609    24874    1    2305edba85fc214d3dcc2c3881f8e6d3    session_pid=24875    request_auth_token
Jun 05 09:04:51 auth-worker(24857): Debug: sql({USER},127.0.0.1): SELECT '{USER}' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='{USER}' AND mailbox.domain='{domain.tld}' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Jun 05 09:04:51 auth: Debug: master userdb out: USER    450756609    {USER}    master_user={USER}    home=/var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27/    quota_rule=*:bytes=0    auth_token=c7372efdf792bfcd5568192c83e0822306912fae
Jun 05 09:04:51 imap-login: Info: Login: user=<{USER}>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=24875, secured, session=<8wSL6L8XgAB/AAAB>
Jun 05 09:04:51 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jun 05 09:04:51 imap: Debug: Added userdb setting: plugin/master_user={USER}
Jun 05 09:04:51 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
Jun 05 09:04:51 imap({USER}): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27/
Jun 05 09:04:51 imap({USER}): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jun 05 09:04:51 imap({USER}): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota grace: root=user bytes=0 (10%)
Jun 05 09:04:51 imap({USER}): Debug: dict quota: user={USER}, uri=proxy::quotadict, noenforcing=0
Jun 05 09:04:51 imap({USER}): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/:INDEX=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/
Jun 05 09:04:51 imap({USER}): Debug: maildir++: root=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir, index=, indexpvt=, control=, inbox=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir, alt=
Jun 05 09:04:51 imap({USER}): Debug: acl: initializing backend with data: vfile
Jun 05 09:04:51 imap({USER}): Debug: acl: acl username = {USER}
Jun 05 09:04:51 imap({USER}): Debug: acl: owner = 1
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: Global ACLs disabled
Jun 05 09:04:51 imap({USER}): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Jun 05 09:04:51 imap({USER}): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jun 05 09:04:51 imap({USER}): Debug: acl: initializing backend with data: vfile
Jun 05 09:04:51 imap({USER}): Debug: acl: acl username = {USER}
Jun 05 09:04:51 imap({USER}): Debug: acl: owner = 0
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: Global ACLs disabled
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Notes/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Sent/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Drafts/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Trash/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Junk/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Info: Disconnected: Logged out in=70 out=630
Jun 05 09:04:51 auth: Debug: auth client connected (pid=24877)
Jun 05 09:04:51 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    session=0AuR6L8XggB/AAAB    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=38018    resp=AGFyQGRldm5jby5mcgBiaXg1cno2cA== (previous base64 data may contain sensitive data)
Jun 05 09:04:51 auth-worker(24857): Debug: sql({USER},127.0.0.1): query: SELECT password, allow_nets FROM mailbox WHERE username='{USER}' AND enableimapsecured=1 AND active=1
Jun 05 09:04:51 auth: Debug: client passdb out: OK    1    user={USER}
Jun 05 09:04:51 auth: Debug: master in: REQUEST    2614755329    24877    1    52d4ca541c298137e8c153984280caeb    session_pid=24879    request_auth_token
Jun 05 09:04:51 auth-worker(24857): Debug: sql({USER},127.0.0.1): SELECT '{USER}' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='{USER}' AND mailbox.domain='{domain.tld}' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Jun 05 09:04:51 auth: Debug: master userdb out: USER    2614755329    {USER}    master_user={USER}    home=/var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27/    quota_rule=*:bytes=0    auth_token=f1207d3e6037f36b647d6c09a85bd347af7816e2
Jun 05 09:04:51 imap-login: Info: Login: user=<{USER}>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=24879, secured, session=<0AuR6L8XggB/AAAB>
Jun 05 09:04:51 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jun 05 09:04:51 imap: Debug: Added userdb setting: plugin/master_user={USER}
Jun 05 09:04:51 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
Jun 05 09:04:51 imap({USER}): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27/
Jun 05 09:04:51 imap({USER}): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jun 05 09:04:51 imap({USER}): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota grace: root=user bytes=0 (10%)
Jun 05 09:04:51 imap({USER}): Debug: dict quota: user={USER}, uri=proxy::quotadict, noenforcing=0
Jun 05 09:04:51 imap({USER}): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/:INDEX=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/
Jun 05 09:04:51 imap({USER}): Debug: maildir++: root=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir, index=, indexpvt=, control=, inbox=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir, alt=
Jun 05 09:04:51 imap({USER}): Debug: acl: initializing backend with data: vfile
Jun 05 09:04:51 imap({USER}): Debug: acl: acl username = {USER}
Jun 05 09:04:51 imap({USER}): Debug: acl: owner = 1
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: Global ACLs disabled
Jun 05 09:04:51 imap({USER}): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Jun 05 09:04:51 imap({USER}): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jun 05 09:04:51 imap({USER}): Debug: acl: initializing backend with data: vfile
Jun 05 09:04:51 imap({USER}): Debug: acl: acl username = {USER}
Jun 05 09:04:51 imap({USER}): Debug: acl: owner = 0
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: Global ACLs disabled
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/dovecot-acl not found
Jun 05 09:04:51 auth: Debug: auth client connected (pid=24878)
Jun 05 09:04:51 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    session=FnqR6L8XhAB/AAAB    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=38020    resp=AGFyQGRldm5jby5mcgBiaXg1cno2cA== (previous base64 data may contain sensitive data)
Jun 05 09:04:51 auth-worker(24857): Debug: sql({USER},127.0.0.1): query: SELECT password, allow_nets FROM mailbox WHERE username='{USER}' AND enableimapsecured=1 AND active=1
Jun 05 09:04:51 auth: Debug: client passdb out: OK    1    user={USER}
Jun 05 09:04:51 auth: Debug: master in: REQUEST    115867649    24878    1    6fd327f092ba23f8c9f3c104fd91de80    session_pid=24880    request_auth_token
Jun 05 09:04:51 auth-worker(24857): Debug: sql({USER},127.0.0.1): SELECT '{USER}' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='{USER}' AND mailbox.domain='{domain.tld}' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Jun 05 09:04:51 auth: Debug: master userdb out: USER    115867649    {USER}    master_user={USER}    home=/var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27/    quota_rule=*:bytes=0    auth_token=6ba343dbbe32a290ce65bce80abbcf3605201498
Jun 05 09:04:51 imap-login: Info: Login: user=<{USER}>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=24880, secured, session=<FnqR6L8XhAB/AAAB>
Jun 05 09:04:51 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jun 05 09:04:51 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jun 05 09:04:51 imap: Debug: Added userdb setting: plugin/master_user={USER}
Jun 05 09:04:51 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
Jun 05 09:04:51 imap({USER}): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27/
Jun 05 09:04:51 imap({USER}): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jun 05 09:04:51 imap({USER}): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 {USER}
Jun 05 09:04:51 imap({USER}): Debug: Quota grace: root=user bytes=0 (10%)
Jun 05 09:04:51 imap({USER}): Debug: dict quota: user={USER}, uri=proxy::quotadict, noenforcing=0
Jun 05 09:04:51 imap({USER}): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/:INDEX=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/
Jun 05 09:04:51 imap({USER}): Debug: maildir++: root=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir, index=, indexpvt=, control=, inbox=//var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir, alt=
Jun 05 09:04:51 imap({USER}): Debug: acl: initializing backend with data: vfile
Jun 05 09:04:51 imap({USER}): Debug: acl: acl username = {USER}
Jun 05 09:04:51 imap({USER}): Debug: acl: owner = 1
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: Global ACLs disabled
Jun 05 09:04:51 imap({USER}): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Jun 05 09:04:51 imap({USER}): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jun 05 09:04:51 imap({USER}): Debug: acl: initializing backend with data: vfile
Jun 05 09:04:51 imap({USER}): Debug: acl: acl username = {USER}
Jun 05 09:04:51 imap({USER}): Debug: acl: owner = 0
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: Global ACLs disabled
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Notes/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Sent/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Drafts/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Trash/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Junk/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Debug: acl vfile: file //var/vmail/vmail1/{domain.tld}/a/r/r/ar-2015.05.28.08.01.27//Maildir/dovecot-acl not found
Jun 05 09:04:51 imap({USER}): Info: Disconnected: Logged out in=357 out=1430
Jun 05 09:04:51 imap({USER}): Info: Disconnected: Logged out in=325 out=2972

10

Re: [SOLVED] Server Error : Mailbox is read-only

not solution for this problem ?
thank you

11

Re: [SOLVED] Server Error : Mailbox is read-only

Cannot help troubleshoot without related log. sad

Try again:

1) Turn on debug mode in Dovecot, restart Dovecot service, then monitor its log file with command 'tail -f /var/log/dovecot.log'.
2) Login to Roundcube now, reproduce this issue/error.
3) Paste us terminal output of step 1).

12

Re: [SOLVED] Server Error : Mailbox is read-only

Sure :

Jul 11 14:08:28 auth: Debug: auth client connected (pid=13854)
Jul 11 14:08:28 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    session=q/aqWJgaQQB/AAAB    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=34113    resp=AGFyQGRldm5jby5mcgBiaXg1cno2cA== (previous base64 data may contain sensitive data)
Jul 11 14:08:28 auth-worker(13756): Debug: sql(ar@example.com,127.0.0.1): query: SELECT password, allow_nets FROM mailbox WHERE username='ar@example.com' AND enableimapsecured=1 AND active=1
Jul 11 14:08:28 auth: Debug: client passdb out: OK    1    user=ar@example.com
Jul 11 14:08:28 auth: Debug: master in: REQUEST    251789313    13854    1    b9a1a63888d85ced1d3a1ae468c0253c    session_pid=13855    request_auth_token
Jul 11 14:08:28 auth-worker(13756): Debug: sql(ar@example.com,127.0.0.1): SELECT 'ar@example.com' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='ar@example.com' AND mailbox.domain='example.com' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Jul 11 14:08:28 auth: Debug: master userdb out: USER    251789313    ar@example.com    master_user=ar@example.com    home=/var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27/    quota_rule=*:bytes=0    auth_token=bc88b4e27918bc91ba310e8ec661c5974ab1ab1b
Jul 11 14:08:28 imap-login: Info: Login: user=<ar@example.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13855, secured, session=<q/aqWJgaQQB/AAAB>
Jul 11 14:08:28 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jul 11 14:08:28 imap: Debug: Added userdb setting: plugin/master_user=ar@example.com
Jul 11 14:08:28 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
Jul 11 14:08:28 imap(ar@example.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27/
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota grace: root=user bytes=0 (10%)
Jul 11 14:08:28 imap(ar@example.com): Debug: dict quota: user=ar@example.com, uri=proxy::quotadict, noenforcing=0
Jul 11 14:08:28 imap(ar@example.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/:INDEX=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/
Jul 11 14:08:28 imap(ar@example.com): Debug: maildir++: root=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir, index=, indexpvt=, control=, inbox=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir, alt=
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: initializing backend with data: vfile
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: acl username = ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: owner = 1
Jul 11 14:08:28 imap(ar@example.com): Debug: acl vfile: Global ACLs disabled
Jul 11 14:08:28 imap(ar@example.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Jul 11 14:08:28 imap(ar@example.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: initializing backend with data: vfile
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: acl username = ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: owner = 0
Jul 11 14:08:28 imap(ar@example.com): Debug: acl vfile: Global ACLs disabled
Jul 11 14:08:28 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/dovecot-acl not found
Jul 11 14:08:28 imap(ar@example.com): Info: Disconnected: Logged out in=99 out=1134
Jul 11 14:08:28 auth: Debug: auth client connected (pid=13856)
Jul 11 14:08:28 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    session=cgatWJgaQwB/AAAB    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=34115    resp=AGFyQGRldm5jby5mcgBiaXg1cno2cA== (previous base64 data may contain sensitive data)
Jul 11 14:08:28 auth-worker(13756): Debug: sql(ar@example.com,127.0.0.1): query: SELECT password, allow_nets FROM mailbox WHERE username='ar@example.com' AND enableimapsecured=1 AND active=1
Jul 11 14:08:28 auth: Debug: client passdb out: OK    1    user=ar@example.com
Jul 11 14:08:28 auth: Debug: master in: REQUEST    1086586881    13856    1    96f7ac6bf8d9ba690cc95efb3904954c    session_pid=13857    request_auth_token
Jul 11 14:08:28 auth-worker(13756): Debug: sql(ar@example.com,127.0.0.1): SELECT 'ar@example.com' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='ar@example.com' AND mailbox.domain='example.com' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Jul 11 14:08:28 auth: Debug: master userdb out: USER    1086586881    ar@example.com    master_user=ar@example.com    home=/var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27/    quota_rule=*:bytes=0    auth_token=901489ff9f8e0b3a5e7e9e10b84bcdd51a6a9bd3
Jul 11 14:08:28 imap-login: Info: Login: user=<ar@example.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13857, secured, session=<cgatWJgaQwB/AAAB>
Jul 11 14:08:28 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jul 11 14:08:28 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jul 11 14:08:28 imap: Debug: Added userdb setting: plugin/master_user=ar@example.com
Jul 11 14:08:28 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
Jul 11 14:08:28 imap(ar@example.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27/
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: Quota grace: root=user bytes=0 (10%)
Jul 11 14:08:28 imap(ar@example.com): Debug: dict quota: user=ar@example.com, uri=proxy::quotadict, noenforcing=0
Jul 11 14:08:28 imap(ar@example.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/:INDEX=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/
Jul 11 14:08:28 imap(ar@example.com): Debug: maildir++: root=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir, index=, indexpvt=, control=, inbox=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir, alt=
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: initializing backend with data: vfile
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: acl username = ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: owner = 1
Jul 11 14:08:28 imap(ar@example.com): Debug: acl vfile: Global ACLs disabled
Jul 11 14:08:28 imap(ar@example.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Jul 11 14:08:28 imap(ar@example.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: initializing backend with data: vfile
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: acl username = ar@example.com
Jul 11 14:08:28 imap(ar@example.com): Debug: acl: owner = 0
Jul 11 14:08:28 imap(ar@example.com): Debug: acl vfile: Global ACLs disabled
Jul 11 14:08:28 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/dovecot-acl not found
Jul 11 14:08:28 imap(ar@example.com): Info: Disconnected: Logged out in=494 out=30484
Jul 11 14:08:30 auth: Debug: auth client connected (pid=13859)
Jul 11 14:08:30 auth: Debug: client in: AUTH    1    PLAIN    service=imap    secured    session=f0/PWJgaRgB/AAAB    lip=127.0.0.1    rip=127.0.0.1    lport=143    rport=34118    resp=AGFyQGRldm5jby5mcgBiaXg1cno2cA== (previous base64 data may contain sensitive data)
Jul 11 14:08:30 auth-worker(13756): Debug: sql(ar@example.com,127.0.0.1): query: SELECT password, allow_nets FROM mailbox WHERE username='ar@example.com' AND enableimapsecured=1 AND active=1
Jul 11 14:08:30 auth: Debug: client passdb out: OK    1    user=ar@example.com
Jul 11 14:08:30 auth: Debug: master in: REQUEST    1755054081    13859    1    174ee513a039f4f488ceea13e3bb0ea1    session_pid=13860    request_auth_token
Jul 11 14:08:30 auth-worker(13756): Debug: sql(ar@example.com,127.0.0.1): SELECT 'ar@example.com' AS master_user, CONCAT(mailbox.storagebasedirectory, '/', mailbox.storagenode, '/', mailbox.maildir) AS home, CONCAT('*:bytes=', mailbox.quota*1048576) AS quota_rule FROM mailbox,domain WHERE mailbox.username='ar@example.com' AND mailbox.domain='example.com' AND mailbox.`enableimapsecured`=1 AND mailbox.domain=domain.domain AND domain.backupmx=0 AND domain.active=1 AND mailbox.active=1
Jul 11 14:08:30 auth: Debug: master userdb out: USER    1755054081    ar@example.com    master_user=ar@example.com    home=/var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27/    quota_rule=*:bytes=0    auth_token=34d6fc0bc2d64a1a9d9b7be74e5f5101ed359c03
Jul 11 14:08:30 imap-login: Info: Login: user=<ar@example.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=13860, secured, session=<f0/PWJgaRgB/AAAB>
Jul 11 14:08:30 imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules
Jul 11 14:08:30 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so
Jul 11 14:08:30 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
Jul 11 14:08:30 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so
Jul 11 14:08:30 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
Jul 11 14:08:30 imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
Jul 11 14:08:30 imap: Debug: Added userdb setting: plugin/master_user=ar@example.com
Jul 11 14:08:30 imap: Debug: Added userdb setting: plugin/quota_rule=*:bytes=0
Jul 11 14:08:30 imap(ar@example.com): Debug: Effective uid=2000, gid=2000, home=/var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27/
Jul 11 14:08:30 imap(ar@example.com): Debug: Quota root: name=user backend=dict args=:proxy::quotadict
Jul 11 14:08:30 imap(ar@example.com): Debug: Quota rule: root=user mailbox=* bytes=0 messages=0
Jul 11 14:08:30 imap(ar@example.com): Debug: Quota warning: bytes=0 (85%) messages=0 reverse=no command=quota-warning 85 ar@example.com
Jul 11 14:08:30 imap(ar@example.com): Debug: Quota warning: bytes=0 (90%) messages=0 reverse=no command=quota-warning 90 ar@example.com
Jul 11 14:08:30 imap(ar@example.com): Debug: Quota warning: bytes=0 (95%) messages=0 reverse=no command=quota-warning 95 ar@example.com
Jul 11 14:08:30 imap(ar@example.com): Debug: Quota grace: root=user bytes=0 (10%)
Jul 11 14:08:30 imap(ar@example.com): Debug: dict quota: user=ar @ example.com, uri=proxy::quotadict, noenforcing=0
Jul 11 14:08:30 imap(ar@example.com): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir://var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/:INDEX=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/
Jul 11 14:08:30 imap(ar@example.com): Debug: maildir++: root=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir, index=, indexpvt=, control=, inbox=//var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir, alt=
Jul 11 14:08:30 imap(ar@example.com): Debug: acl: initializing backend with data: vfile
Jul 11 14:08:30 imap(ar@example.com): Debug: acl: acl username = ar@example.com
Jul 11 14:08:30 imap(ar@example.com): Debug: acl: owner = 1
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: Global ACLs disabled
Jul 11 14:08:30 imap(ar@example.com): Debug: Namespace : type=shared, prefix=Shared/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:/%Lh/Maildir/:INDEX=/%Lh/Maildir/Shared/%u
Jul 11 14:08:30 imap(ar@example.com): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Jul 11 14:08:30 imap(ar@example.com): Debug: acl: initializing backend with data: vfile
Jul 11 14:08:30 imap(ar@example.com): Debug: acl: acl username = ar@example.com
Jul 11 14:08:30 imap(ar@example.com): Debug: acl: owner = 0
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: Global ACLs disabled
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Notes/dovecot-acl not found
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Sent/dovecot-acl not found
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Drafts/dovecot-acl not found
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Trash/dovecot-acl not found
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/.Junk/dovecot-acl not found
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/.OVH/dovecot-acl not found
Jul 11 14:08:30 imap(ar@example.com): Debug: acl vfile: file //var/vmail/vmail1/example.com/a/r/r/ar-2015.05.28.08.01.27//Maildir/dovecot-acl not found
Jul 11 14:08:30 imap(ar@example.com): Info: Disconnected: Logged out in=1150 out=33658

13

Re: [SOLVED] Server Error : Mailbox is read-only

Ange7 wrote:

With fresh installation of iRedMail on fresh server, when i'm logged in roundcube, i want delete one email so i click on «trash icon» and i have this message :
«Server Error : Mailbox is read-only»

I wonder whether below steps work for you or not:

*) Login to server via ssh.
*) If it's safe to delete all messages in your Trash folder, please remove directory '/var/vmail/vmail1/devnco.fr/a/r/r/ar-2015.05.28.08.01.27/Maildir/.Trash'. WARNING: make sure you're deleting the correct directory, deleted message cannot be recovered.
*) Do NOT create this '.Trash' folder manually, just login to Roundcube (or other mail client application), it will re-create this folder automatically. Now check whether the same issue occurs.

14

Re: [SOLVED] Server Error : Mailbox is read-only

This is not related to the trash folder, cause i have the same problem if i want mark one mail as read, i refresh and it's mark as unread.

BUT ! My account is also configured on my iPhone, (IMAP) & i can delete & mark mail as readed without problem. I have the problem only with roundcube

15

Re: [SOLVED] Server Error : Mailbox is read-only

Ange7 wrote:

I have the problem only with roundcube

*) Does it work if you logout from Roundcube and re-login?
*) Does it work if you empty web browser cache?
*) Does it work if you remove all sessions stored in Roundcube sql database? Warning: it will force ALL webmail users to re-login.

16

Re: [SOLVED] Server Error : Mailbox is read-only

ZhangHuangbin wrote:
Ange7 wrote:

I have the problem only with roundcube

*) Does it work if you logout from Roundcube and re-login?
*) Does it work if you empty web browser cache?
*) Does it work if you remove all sessions stored in Roundcube sql database? Warning: it will force ALL webmail users to re-login.

1) no
2) no
3) how can i removed stored session ?

17

Re: [SOLVED] Server Error : Mailbox is read-only

Roundcube sessions are stored in SQL table: roundcubemail.sessions.

18

Re: [SOLVED] Server Error : Mailbox is read-only

ZhangHuangbin wrote:

Roundcube sessions are stored in SQL table: roundcubemail.sessions.

Done but not fixed.

=> i delete one mail from mail box "inbox" -> error mailbox is read only
=> i delete one mail from alias box ( myuser+alias@domain.com) -> it works

19

Re: [SOLVED] Server Error : Mailbox is read-only

Turn on client side IMAP debug in Roundcube config file:

$config['imap_debug'] = true;

Then try to reproduce this issue again, paste related log in Roundcube log file (same as Postfix log file).

20

Re: [SOLVED] Server Error : Mailbox is read-only

Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [1] SELECT `vars`, `ip`, `changed`, now() AS ts FROM `session` WHERE `sess_id` = 'o3jdi066mjg8h1ek8ne73h0ks3';
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [2] SELECT * FROM `users` WHERE `user_id` = '2';
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0001 ID ("name" "Roundcube" "version" "1.1.1" "php" "5.6.7-1" "os" "Linux" "command" "/mail/?_task=mail&_refresh=1&_mbox=INBOX&_remote=1&_unlock=loading1437405451233&_action=list&_=1437402878923")
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * ID ("name" "Dovecot")
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0001 OK ID completed.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0002 LOGIN ****** [22]
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0003 SELECT INBOX
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [PERMANENTFLAGS ()] Read-only mailbox.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * 134 EXISTS
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * 0 RECENT
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [UIDVALIDITY 1432800296] UIDs valid
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [UIDNEXT 192] Predicted next UID
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [HIGHESTMODSEQ 554] Highest
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0003 OK [READ-ONLY] Select completed (0.000 secs).
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0004 UID THREAD REFS US-ASCII ALL UNDELETED
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * THREAD (60)(73)(81)(83)(89)(91)(102)(104 105)(111 112)(110 114)(116)(124 125 126 127)(128)(85 (88)(93)(133))(136)(138)(132 139)(137 140)((144)(145))(147)(151)(152)(153)(113 (117 119 121 122 (134)(135 154))(118))(155)(156)(163)(176)(166)((169)(167))(172 173)((148 (149)(150))(184))(180 181 183)(189)(190)
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0004 OK Thread completed.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0005 UID SEARCH 62
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * SEARCH 119
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0005 OK Search completed (0.000 secs).
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0006 UI [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0003 SELECT INBOX
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [PERMANENTFLAGS ()] Read-only mailbox.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * 134 EXISTS
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * 0 RECENT
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [UIDVALIDITY 1432800296] UIDs valid
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [UIDNEXT 192] Predicted next UID
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [HIGHESTMODSEQ 554] Highest
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0003 OK [READ-ONLY] Select completed (0.000 secs).
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0004 UID THREAD REFS US-ASCII ALL UNDELETED
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * THREAD (60)(73)(81)(83)(89)(91)(102)(104 105)(111 112)(110 114)(116)(124 125 126 127)(128)(85 (88)(93)(133))(136)(138)(132 139)(137 140)((144)(145))(147)(151)(152)(153)(113 (117 119 121 122 (134)(135 154))(118))(155)(156)(163)(176)(166)((169)(167))(172 173)((148 (149)(150))(184))(180 181 183)(189)(190)
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0004 OK Thread completed.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0005 UID SEARCH 62
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * SEARCH 119
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0005 OK Search completed (0.000 secs).
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0006 UI:
[CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0003 SELECT INBOX
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [PERMANENTFLAGS ()] Read-only mailbox.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * 134 EXISTS
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * 0 RECENT
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [UIDVALIDITY 1432800296] UIDs valid
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [UIDNEXT 192] Predicted next UID
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [HIGHESTMODSEQ 554] Highest
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0003 OK [READ-ONLY] Select completed (0.000 secs).
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0004 UID THREAD REFS US-ASCII ALL UNDELETED
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * THREAD (60)(73)(81)(83)(89)(91)(102)(104 105)(111 112)(110 114)(116)(124 125 126 127)(128)(85 (88)(93)(133))(136)(138)(132 139)(137 140)((144)(145))(147)(151)(152)(153)(113 (117 119 121 122 (134)(135 154))(118))(155)(156)(163)(176)(166)((169)(167))(172 173)((148 (149)(150))(184))(180 181 183)(189)(190)
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0004 OK Thread completed.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0005 UID SEARCH 62
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * SEARCH 119
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0005 OK Search completed (0.000 secs).
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0006 UID FETCH 60,73,81,83,85,88:89,91,93,102,104:105,110:114,116:119,121:122,124:128,132:140,144:145,147:156,163,166:167,169,172:173,176,180:181,183:184,189:190 (UID RFC822.SIZE FLAGS INTERNALDATE BODY.PEEK[HEA:
[CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE BINARY MOVE QUOTA ACL RIGHTS=texk] Logged in
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0003 SELECT INBOX
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [PERMANENTFLAGS ()] Read-only mailbox.
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * 134 EXISTS
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * 0 RECENT
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [UIDVALIDITY 1432800296] UIDs valid
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [UIDNEXT 192] Predicted next UID
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: * OK [HIGHESTMODSEQ 554] Highest
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] S: A0003 OK [READ-ONLY] Select completed (0.000 secs).
Jul 20 17:18:08 arjosephine roundcube: <o3jdi066> [F6C4] C: A0004 UID THREAD REFS US-ASCII ALL UNDELETED

FLAG READ-ONLY ? huhu

21

Re: [SOLVED] Server Error : Mailbox is read-only

from dovecot IRC :

[17:38] <DominikB> look in the acl settings and set the owner back to allow all as listed here http://wiki2.dovecot.org/ACL
[17:38] <DominikB> at your setup its stored in the mysql

22

Re: [SOLVED] Server Error : Mailbox is read-only

That makes sense. Did you change any ACL flags for this mailbox?
You can enable Roundcube plugin 'acl' to check this.

23 (edited by Ange7 2015-07-21 16:50:04)

Re: [SOLVED] Server Error : Mailbox is read-only

ZhangHuangbin wrote:

That makes sense. Did you change any ACL flags for this mailbox?
You can enable Roundcube plugin 'acl' to check this.

--I don't think i changed ACL flags cause i don't know how it works..
i enable plugin in roundcube : $plugins = array('acl'); but nothing happen ?--

Ok i founded in /opt/www/roundcubemail/config/config.inc.php

but no acl (check attachment)

Post's attachments

acl.png 146.01 kb, 1 downloads since 2015-07-21 

You don't have the permssions to download the attachments of this post.

24

Re: [SOLVED] Server Error : Mailbox is read-only

i found this topic : http://www.dovecot.org/list/dovecot/201 … 92001.html maybe it's related ?

25

Re: [SOLVED] Server Error : Mailbox is read-only

Click the 'Folders' in Roundcube settings, it will show you ACL related settings.