Hi Timo,
Thank you very much for replying!
What does your configuration look like now? v1.1 has different quota configuration. Is the problem only with deliver, or is imap also not updating quota? And dovecot -n unfortunately doesn't show protocol lda {} contents, so could you show them too? And finally, enable mail_debug=yes and paste its logs when a message is delivered.
mail_debug was already enabled, actually. maildirsize is not updated with imap now. If I logged in imap with dovecot 1.0.13, maildirsize was updated. This is not the case anymore with dovecot 1.1.16 ...
I am actually realizing something. Do I need to add the "quota" plugin in the "protocol lda {}" section of dovecot.conf?
Please find the configuration information below:
# dovecot -n # 1.1.16: /etc/dovecot-1.1.16/dovecot.conf # OS: Linux 2.6.27.10-grsec-xxxx-grs-ipv4-32 i686 Debian 4.0 ext3 base_dir: /var/dovecot-1.1.16 log_path: /var/dovecot-1.1.16/log/errors.log info_log_path: /var/dovecot-1.1.16/log/info.log ssl_disable: yes disable_plaintext_auth: no login_dir: /var/dovecot-1.1.16/login login_executable: /usr/local/dovecot-1.1.16/libexec/dovecot/imap-login login_user: ldovecotlogin mail_location: maildir:/var/vmail/%d/%n mail_debug: yes mail_plugins: quota imap_quota auth default: mechanisms: plain login user: nobody chroot: /var/dovecot-1.1.16 verbose: yes debug: yes debug_passwords: yes passdb: driver: sql args: /etc/dovecot-1.1.16/dovecot-mysql-passdb.conf userdb: driver: sql args: /etc/dovecot-1.1.16/dovecot-mysql-userdb.conf socket: type: listen client: path: /var/postfix-2.5.1/private/auth.dovecot mode: 432 user: lpostfix group: lpostfix master: path: /var/dovecot-1.1.16/auth-master mode: 384 user: vmail group: vmail plugin: quota: maildir:Quota
protocol lda { # Address to use when sending rejection mails. postmaster_address = postmaster@MyDomain
# Hostname to use in various parts of sent mails, eg. in Message-Id. # Default is the system's real hostname. #hostname =
# Support for dynamically loadable plugins. mail_plugins is a space separated # list of plugins to load. #mail_plugins = #mail_plugin_dir = /usr/lib/dovecot/lda
# Binary to use for sending mails. #sendmail_path = /usr/lib/sendmail
# UNIX socket path to master authentication server to find users. #auth_socket_path = /var/run/dovecot/auth-master
log_path = /var/dovecot-1.1.16/log/delivery.log auth_socket_path = /var/dovecot-1.1.16/auth-master }
# egrep '^deliver.test' info.log | tail deliver(test@MyDomain): Jun 24 13:28:35 Info: auth input: uid=5000 deliver(test@MyDomain): Jun 24 13:28:35 Info: auth input: gid=5000 deliver(test@MyDomain): Jun 24 13:28:35 Info: auth input: mail=maildir:/home/vmail/MyDomain/test deliver(test@MyDomain): Jun 24 13:28:35 Info: auth input: home=/home/vmail/MyDomain/test/home deliver(test@MyDomain): Jun 24 13:28:35 Info: auth input: quota=maildir:Quota deliver(test@MyDomain): Jun 24 13:28:35 Info: auth input: quota_rule=*:storage=1024 deliver(test@MyDomain): Jun 24 13:28:35 Info: auth input: quota_rule2=Trash:storage=50M deliver(test@MyDomain): Jun 24 13:28:35 Info: Home dir not found: /home/vmail/MyDomain/test/home deliver(test@MyDomain): Jun 24 13:28:35 Info: maildir: data=/home/vmail/MyDomain/test deliver(test@MyDomain): Jun 24 13:28:35 Info: maildir++: root=/home/vmail/MyDomain/test, index=, control=, inbox=/home/vmail/MyDomain/test deliver(test@MyDomain): Jun 24 13:28:35 Info: msgid=290034.94281.qm@web24608.mail.ird.yahoo.com: saved mail to INBOX deliver(test@MyDomain): Jun 24 16:59:57 Info: auth input: uid=5000 deliver(test@MyDomain): Jun 24 16:59:57 Info: auth input: gid=5000 deliver(test@MyDomain): Jun 24 16:59:57 Info: auth input: mail=maildir:/home/vmail/MyDomain/test deliver(test@MyDomain): Jun 24 16:59:57 Info: auth input: home=/home/vmail/MyDomain/test/home deliver(test@MyDomain): Jun 24 16:59:57 Info: auth input: quota=maildir:Quota deliver(test@MyDomain): Jun 24 16:59:57 Info: auth input: quota_rule=*:storage=1024 deliver(test@MyDomain): Jun 24 16:59:57 Info: auth input: quota_rule2=Trash:storage=50M deliver(test@MyDomain): Jun 24 16:59:57 Info: Home dir not found: /home/vmail/MyDomain/test/home deliver(test@MyDomain): Jun 24 16:59:57 Info: maildir: data=/home/vmail/MyDomain/test deliver(test@MyDomain): Jun 24 16:59:57 Info: maildir++: root=/home/vmail/MyDomain/test, index=, control=, inbox=/home/vmail/MyDomain/test deliver(test@MyDomain): Jun 24 16:59:57 Info: msgid=542353.92671.qm@web24614.mail.ird.yahoo.com: saved mail to INBOX
# cat maildirsize 1048576S 1846384 10
Best regards,
Fabrice