Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 191384
Alias:
Product:
Component:
Status: CLOSED
Resolution: TEST-REQUEST
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: MarisN <maris.gis@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 191384 depends on: Show dependency tree
Bug 191384 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-05 14:37 0000
In postfix-2.4.3 if in virtual_mailbox_limit_maps user has quota 0 (zero) it
means "unlimited" like for virtual_mailbox_limit or mailbox_size_limit. In
postfix-2.4.5 quota=0 has turned to "Use default virtual_mailbox_limit" thus
breaking any existing postfix virtual_mailbox_limit_maps that still assume
0=unlimited.

Reproducible: Always



Expected Results:  
Quota setting virtual_mailbox_limit_maps should act similar to
mailbox_size_limit.

It's possibly is related to changes in VDA patch around line 848:

@@ -843,13 +848,13 @@
 +            }
 +        }
 +        else {
-+            /* Invalid limit size (negative), or zero. Set n to 0. */
-+            n = 0;
++            /* Invalid limit size (negative), or zero. Use default
virtual_mailbox_limit. */
++            n = var_virt_mailbox_limit;
 +        }
 +    }
 +    else {
-+        /* There is no limit in the maps. Set n to 0. */
-+        n = 0;
++        /* There is no limit in the maps. Use default virtual_mailbox_limit.
*/
++        n = var_virt_mailbox_limit;
 +    }
 +
 +    /*

------- Comment #1 From lou 2007-11-22 03:58:24 0000 -------
I'm experiencing the same problem after upgrading to 2.4.5 today

------- Comment #2 From Luca Longinotti 2007-11-24 11:24:34 0000 -------
Postfix 2.4 series includes the new VDA-NG, a rewritten and improved version of
VDA.
See
http://sourceforge.net/mailarchive/forum.php?thread_name=46A5BEBC.5090407%40gmail.com&forum_name=vda-users
for an explanation of this particular change.
Basically it is a fix for incorrect behavior that VDA displayed in older
versions. 
If you need unlimited quota for a maildir, set it to 0 explicitly for that
email.
Best regards, CHTEKK.

------- Comment #3 From Luca Longinotti 2007-11-24 11:32:20 0000 -------
Ahmmm sorry, misunderstood this one... Zero is actually indeed a logically
valid value and is threated as not being one... I'll fix this in VDA.
Best regards, CHTEKK.

------- Comment #4 From Luca Longinotti 2007-11-25 23:49:23 0000 -------
mail-mta/postfix-2.4.6 should fix this and revert the meaning of quota=0 to
"infinite quota". I'd very much like to hear if this indeed fixed your Postfix
use cases or if there still are problems...
Best regards, CHTEKK.

------- Comment #5 From Luca Longinotti 2007-11-26 12:11:18 0000 -------
Ok I just finished all my tests and added mail-mta/postfix-2.4.6-r1 to the
tree, which correctly fixes this also for mailbox quotas (and not only
maildirs).
Best regards, CHTEKK.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug