dovecot version: 1.1.6
dovecot -n output # 1.1.6: /etc/dovecot/dovecot.conf # OS: Linux 2.6.18-53.el5PAE i686 CentOS release 5.2 (Final) ext3 log_path: /usr/local/dovecot/log protocols: imap ssl_disable: yes disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/local/dovecot/libexec/dovecot/imap-login last_valid_uid: 510 mail_location: maildir:/var/mails/%n:CONTROL=/var/no-quota/%n mail_executable: /usr/local/dovecot/libexec/dovecot/imap mail_plugins: quota imap_quota mail_plugin_dir: /usr/local/dovecot/lib/dovecot imap_capability: IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS LIST-EXTENDED I18NLEVEL=1 AUTH=PLAIN auth default: executable: /usr/local/dovecot/libexec/dovecot/dovecot-auth debug: yes passdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: sql args: /etc/dovecot/dovecot-sql.conf userdb: driver: passwd socket: type: listen client: path: /var/run/dovecot/auth-client mode: 432 master: path: /var/run/dovecot/auth-master mode: 438 plugin: quota: maildir:User quota quota_rule: *:storage=1G quota_rule2: Trash:ignore quota_rule3: Spam:ignore sieve: /var/sieve-scripts/%n.sieve
============================================= grep -v '^ *\(#.*\)\?$' output:
auth_debug=yes protocols = imap disable_plaintext_auth = no log_path = /usr/local/dovecot/log ssl_disable = yes login_user = dovecot mail_location = maildir:/var/mails/%n:CONTROL=/var/no-quota/%n first_valid_uid = 500 last_valid_uid = 510 first_valid_gid = 1 last_valid_gid = 0 protocol imap { login_executable = /usr/local/dovecot/libexec/dovecot/imap-login mail_executable = /usr/local/dovecot/libexec/dovecot/imap imap_capability = IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS UIDPLUS LIST-EXTENDED I18NLEVEL=1 AUTH=PLAIN mail_plugins = quota imap_quota mail_plugin_dir = /usr/local/dovecot/lib/dovecot } protocol pop3 { } protocol lda { postmaster_address = amrnablus@gmail.com hostname=maktoob.com mail_plugins = quota cmusieve mail_plugin_dir = /usr/local/dovecot/lib/dovecot/lda/ sendmail_path=/usr/sbin/sendmail.postfix auth_socket_path = /var/run/dovecot/auth-master mode = 384 } auth_executable = /usr/local/dovecot/libexec/dovecot/dovecot-auth auth default { mechanisms = plain user = root passdb sql { args = /etc/dovecot/dovecot-sql.conf } userdb sql { args = /etc/dovecot/dovecot-sql.conf } socket listen { master { path = /var/run/dovecot/auth-master mode = 0666 } client { path = /var/run/dovecot/auth-client mode = 0660 } } userdb passwd { } user = root } dict { } plugin { quota = maildir:User quota quota_rule = *:storage=1G quota_rule2 = Trash:ignore quota_rule3 = Spam:ignore sieve = /var/sieve-scripts/%n.sieve }
==================================
the problem is that when i try to delete an existing directory in a mailbox, it gets actually deleted, but the response says that the mailbox does not exist, please check this log:
1 login <username> <password> 1 OK Logged in. 1 Create AAA 1 OK Create completed. 1 list "" "*"
- LIST (\HasNoChildren) "." "TestDir"
- LIST (\HasNoChildren) "." "Contacts"
- LIST (\HasNoChildren) "." "Calendar"
- LIST (\HasNoChildren) "." "Notes"
- LIST (\HasNoChildren) "." "Tasks"
- LIST (\HasNoChildren) "." "Spam"
- LIST (\HasNoChildren) "." "Draft"
- LIST (\HasNoChildren) "." "Trash"
- LIST (\HasNoChildren) "." "Journal"
- LIST (\HasNoChildren) "." "Sent"
- LIST (\HasNoChildren) "." "AAA"
- LIST (\HasNoChildren) "." "INBOX" 1 OK List completed. 1 Delete AAA 1 NO Mailbox doesn't exist: AAA 1 list "" "*"
- LIST (\HasNoChildren) "." "TestDir"
- LIST (\HasNoChildren) "." "Contacts"
- LIST (\HasNoChildren) "." "Calendar"
- LIST (\HasNoChildren) "." "Notes"
- LIST (\HasNoChildren) "." "Tasks"
- LIST (\HasNoChildren) "." "Spam"
- LIST (\HasNoChildren) "." "Draft"
- LIST (\HasNoChildren) "." "Trash"
- LIST (\HasNoChildren) "." "Journal"
- LIST (\HasNoChildren) "." "Sent"
- LIST (\HasNoChildren) "." "INBOX" 1 OK List completed. 1 logout
- BYE Logging out 1 OK Logout completed.