Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: macwunder on May 05, 2011, 06:01:57 AM

Title: Quotas and info for IMAP accounts
Post by: macwunder on May 05, 2011, 06:01:57 AM
I'm used to seeing quota information announced with IMAP accounts, but this doesn't seem to be the case with SME. Should I be able to see the quota in the IMAP account information? Am I missing something?

Jeff
Title: Re: Quotas and info for IMAP accounts
Post by: mmccarn on May 05, 2011, 12:59:15 PM
SME does not impose disk quotas by default.

Use the "Quotas" option in server-manager to set user quotas.

I don't know if you're going to see the quota in your IMAP client once it's set, though.

http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter9#Quotas
Title: Re: Quotas and info for IMAP accounts
Post by: macwunder on May 05, 2011, 03:23:27 PM
Yes, I have a quota defined for my particular account (10G soft, and 20G hard):
(http://sme.qzoneinc.com/images/quota.png)

Another server I have (running CentOS5 with BlueOnyx) displays quota in IMAP:
(http://sme.qzoneinc.com/images/imap1.png)

But the SME8 server does not:
(http://sme.qzoneinc.com/images/imap2.png)

Does this mean that SME isn't enforcing quotas at the OS level?
Title: Re: Quotas and info for IMAP accounts
Post by: Stefano on May 05, 2011, 04:38:08 PM
Does this mean that SME isn't enforcing quotas at the OS level?

no.. SME enforces quotas on ALL files.. not only in imap/mail
Title: Re: Quotas and info for IMAP accounts
Post by: macwunder on May 05, 2011, 05:39:16 PM
no.. SME enforces quotas on ALL files.. not only in imap/mail
I suppose I worded that improperly... The OS isn't reporting that it is enforcing, at least through IMAP...
Title: Re: Quotas and info for IMAP accounts
Post by: CharlieBrady on May 06, 2011, 02:17:59 AM
I suppose I worded that improperly... The OS isn't reporting that it is enforcing, at least through IMAP...

It is enforcing quota, but AFAIK, quota use information isn't available via IMAP. Some later version of dovecot and/or a configuration change would be required for that.

Quota information is only available from IMAP servers if they have 'QUOTA' in the response to the CAPABILITY command:

http://www.apps.ietf.org/rfc/rfc2087.html

The CAPABILITY string in SME server's IMAP server is:

AUTH=LOGIN IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS
Title: Re: Quotas and info for IMAP accounts
Post by: cactus on May 06, 2011, 08:48:02 AM
The CAPABILITY string in SME server's IMAP server is:

AUTH=LOGIN IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS
Just out of curiosity: How did you retrieve this information?
Title: Re: Quotas and info for IMAP accounts
Post by: CharlieBrady on May 06, 2011, 03:21:57 PM
Just out of curiosity: How did you retrieve this information?

We set it explicitly:

cat /service/imap/config

The IMAP_CAPABILITY environment variable is used by imapfront-auth.

The content of our configuration was determined by connecting manually to a standard dovecot installation (but with an earlier version of dovecot).