Opened 6 years ago

Closed 5 years ago

#1484604 closed Feature Patches (fixed)

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: git-master
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 (1)

imap-zeroquota.patch (779 bytes) - added by sweetpea 6 years ago.
Patch to check for zero total quota

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by sweetpea

Patch to check for zero total quota

comment:1 Changed 5 years ago by seansan

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

Review in 0.1.1

comment:2 Changed 5 years ago by till

  • Milestone changed from 0.1.1 to 0.2-beta

comment:3 Changed 5 years ago by alec

Zero not always means "no limit".

comment:4 Changed 5 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [876b15dc]. Added option 'quota_zero_as_unlimited'.

Note: See TracTickets for help on using tickets.