[Dovecot] quota with imapc

pvsuja pvsuja at gmail.com
Thu May 16 13:31:15 EEST 2013


Dear dovecot team,

I have set up my mail system with a mail gateway connecting to mail server
using imapc.
Now I need my web mail client to show up the quota info.
I enabled quota plugins in dovecot.conf.
The problem is since all mails reside in the server, the web mail which is
in mail gateway always shows the quota as 0.
Is there any way the plugin will get quota info from the mail server?

I am attaching my conf 

## Dovecot configuration file in

mail_uid = imapproxy
mail_gid = imapproxy
mail_home = /home/imapproxy/%u
mail_location = imapc:~/imapc

protocols = imap


##
## imapc settings
##

imapc_host = mailserver.example.com
imapc_port = 143
imapc_ssl = starttls
imapc_ssl_ca_dir = /etc/postfix/certs

##
## auth settings
##

auth_mechanisms = plain login

passdb {
  driver = imap
  args = host=mailserver.example.com ssl=starttls
ssl_ca_dir=/etc/postfix/certs
  default_fields = userdb_imapc_user=%u userdb_imapc_password=%w
ssl=starttls
}
userdb {
  driver = prefetch
}


mail_plugins = $mail_plugins quota
plugin {

	quota = maildir:User quota
	quota_rule = *:storage=200M 

}
protocol imap {
  # Space separated list of plugins to load (default is global
mail_plugins).
  mail_plugins = $mail_plugins imap_quota
}

##
## SSL settings
##

ssl = required
disable_plaintext_auth = yes
#verbose_ssl = yes
ssl_cert = </etc/postfix/certs/public_cert.pem
ssl_key = </etc/postfix/certs/private_key.pem
ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL
   

Greetings.





--
View this message in context: http://dovecot.2317879.n4.nabble.com/quota-with-imapc-tp42280.html
Sent from the Dovecot mailing list archive at Nabble.com.


More information about the dovecot mailing list