Ticket #1484604 (closed Patches: fixed)

Opened 14 months ago

Last modified 3 months ago

Quota shown as exceeded when there is no quota - patch provided

Reported by: sweetpea Owned by:
Priority: 5 Milestone: 0.2-beta
Component: IMAP connection Version: svn-trunk
Severity: normal Keywords: quota, dovecot
Cc:

Description

Using the dovecot IMAP server with FS quotas enabled, the total storage available is shown as 0 if there is no quota for the account. That means that the quota indicator shows as exceeded if the quota is, in fact, unlimited.

Attached is a patch which checks for a zero-total quota. If the total is zero, it will set the result to false, causing the unlimited quota to display properly.

Attachments

imap-zeroquota.patch (0.8 kB) - added by sweetpea 14 months ago.
Patch to check for zero total quota

Change History

Changed 14 months ago by sweetpea

Patch to check for zero total quota

Changed 10 months ago by seansan

  • summary changed from Quota shown as exceeded when there is no quota to Quota shown as exceeded when there is no quota - patch provided
  • milestone set to 0.1.1

Review in 0.1.1

Changed 9 months ago by till

  • milestone changed from 0.1.1 to 0.2-beta

Changed 6 months ago by alec

Zero not always means "no limit".

Changed 3 months ago by alec

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1691. Added option 'quota_zero_as_unlimited'.

Note: See TracTickets for help on using tickets.