Roundcube Community Forum

 

why isnt my quota showing on webmail?

Started by timreichhart, May 22, 2009, 12:01:40 AM

Previous topic - Next topic

timreichhart

Hi Guys
I wanted to know the reason why my quota is not showing up on the webmail and I was the one who setup the email server is there a setting I need to change?

also my system information is Ubuntu 9.04 with postfix+dovecot imap+mysql.

and how I installed was by doing this sudo apt-get install roundcube from command line.

waster2009

Dovecot should be configured with quota plugins and quota mechanism should work. Something like this (please check dovecot docs):

protocol imap {
  mail_plugins = quota imap_quota
}

If you use mysql to get/store quota then configure dovecot quota plugin accordingly.

Asterix

And I think that your local delivery agent should also be quota enabled. I use the LDA of Dovecot instead of the postfix one and therefor the quota file (maildirsize) is written by the Dovecot LDA.

timreichhart

#3
well my dovecot is setup for mysql so what would i need to put in for that?

alright I got the plugin in there but now when I login to webmail its showing disk:unlimited but in sql I set the quota @ 1024kb  is there something else I have to do?

timreichhart

also I am having problems with spam its not getting marked or moved to junk. so I need to find out why why the quota dont work and why spam is not moving to junk or getting marked as spam.

timreichhart

may I please get some help with this webmail problem thanks.

rosali

I'm quite sure it isn't a RoundCube Problem. When establishing IMAP connection RoundCube asks for QUOTA Capabilitity. If the IMAP server does not response to have quota extension, the quota image is not shown. Look here IMAP Server with QUOTA Extension capability - HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials.
Regards,
Rosali

timreichhart

the quota is working but my problem is I get the quota from mysql so I need to know what plugin to use to get it from mysql.

rosali

AFAIK, it works only for quota by IMAP server. I'm not aware of a plugin for mysql.
Regards,
Rosali

timreichhart

then it sounds like roundcube needs to be updated for this setup.

corbosman

You can probably write a plugin to handle your situation.

sysadm


Martian

Sorry for digging up and old thread perhaps this will help someone via search:

Dovecot pulls the quota information from the mysql tables and that data is then provided to the IMAP client via the IMAP QUOTA command.  There is no need for Roundcube to talk to the SQL server at all for this to happen.  So long as Dovecot is reports QUOTA support in it's header Roundcube will use it.

Martian