Hi all,
I've troubles with dovecot and quota. Sometimes mails to users are bounced because quota is full. I'm reading quota_rules from LDAP. One "du -h ." from maildir show user is under quota ( at 70 % more or less), less than 99%, i delete maildirsize and dovecot recreate it with ldap-quota value at first line and second line is current-quota mails. Current-quota is near quota max value so dovecot execute quota_warning (99%). Why is dovecot thinking quota is at 99% when du -h show me its value is near 70% ? any guess?
My conf:
syslog_facility: local1 protocols: imap pop3 managesieve listen(default): * listen(imap): * listen(pop3): *:110 listen(managesieve): *:2000 ssl_disable: yes disable_plaintext_auth: no login_dir: /usr/local/dovecot//var/run/dovecot/login login_executable(default): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(imap): /usr/local/dovecot/libexec/dovecot/imap-login login_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3-login login_executable(managesieve): /usr/local/dovecot/libexec/dovecot/managesieve-login login_process_per_connection: no login_process_size: 1200 login_processes_count: 20 login_max_processes_count: 2048 login_max_connections: 512 max_mail_processes: 4096 mail_max_userip_connections(default): 1000 mail_max_userip_connections(imap): 1000 mail_max_userip_connections(pop3): 10 mail_max_userip_connections(managesieve): 10 mail_location: maildir:%h/Maildir mmap_disable: yes dotlock_use_excl: no mail_nfs_storage: yes mail_nfs_index: yes mail_executable(default): /usr/local/dovecot/libexec/dovecot/imap mail_executable(imap): /usr/local/dovecot/libexec/dovecot/imap mail_executable(pop3): /usr/local/dovecot/libexec/dovecot/pop3 mail_executable(managesieve): /usr/local/dovecot/libexec/dovecot/managesieve mail_plugins(default): quota imap_quota mail_plugins(imap): quota imap_quota mail_plugins(pop3): quota mail_plugins(managesieve): mail_plugin_dir(default): /usr/local/dovecot/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/dovecot/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/dovecot/lib/dovecot/pop3 mail_plugin_dir(managesieve): /usr/local/dovecot//lib/dovecot/managesieve imap_client_workarounds(default): outlook-idle imap_client_workarounds(imap): outlook-idle imap_client_workarounds(pop3): imap_client_workarounds(managesieve): sieve(default): sieve(imap): sieve(pop3): sieve(managesieve): ~/.dovecot.sieve auth default: cache_size: 512000 cache_ttl: 1800 executable: /usr/local/dovecot/libexec/dovecot/dovecot-auth failure_delay: 5 debug: yes worker_max_count: 4096 worker_max_request_count: 4096 process_size: 4096 passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf socket: type: listen master: path: /var/run/dovecot/auth-master mode: 511 plugin: sieve: %h/.dovecot.sieve quota_warning: storage=99%% /usr/local/bin/quota-full.sh %u quota_warning2: storage=95%% /usr/local/bin/quota-warning.sh 95 %u quota_warning3: storage=70%% /usr/local/bin/quota-warning.sh 70 %u quota: maildir
thanks in advance,
Regards.