Mail box size limit without unit

Bug #35329 reported by Tero Karvinen
8
Affects Status Importance Assigned to Milestone
postfix (Debian)
Fix Released
Unknown
postfix (Ubuntu)
Fix Released
Low
LaMont Jones

Bug Description

51200000 of what, eksabytes? Probably the unit is bytes, but its hard to know.

$ sudo dpkg-reconfigure postfix
...
"Postfix Configuration
What limit should Postfix place on mailbox files to prevent runaway
software errors. A value of zero (0) means no limit. (The
upstream default is 51200000.) Mailbox size limit"

Suggestion:
- easy: "Mailbox size limit (bytes): "
- harder "Use TB GB MB kB B after number for units, defaults to B (bytes). "

Revision history for this message
Scott Henson (scotth) wrote :

It seems that the man pages for local and postconf don't specify the units. After checking the source though, the value is passed to ulimit or setrlimit. I checked out the man pages for them and there seems to be no mention of what the units are that they work in. But there is some evidence that its in 512 byte blocks. So, not sure whats going on.

Revision history for this message
Caspar Clemens Mierau (leitmedium) wrote :

It's correct that there is no hint about the units, especially in postconf(5). So the easiest way is to add a line to the postconf(5) man page. This should be reported upstream.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Except that the debconf question is what is specifically being addressed and that's a Debian/Ubuntu issue.

LaMont Jones (lamont)
Changed in postfix:
assignee: nobody → lamont
status: New → Confirmed
Changed in postfix:
status: Unknown → New
LaMont Jones (lamont)
Changed in postfix:
status: Confirmed → Fix Committed
Revision history for this message
LaMont Jones (lamont) wrote :

Fixed in 2.4.6-2

Changed in postfix:
status: Fix Committed → Fix Released
Changed in postfix:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.