Bug 36382 - Postfix passes mailbox_size_limit to LDA as rlimit
Summary: Postfix passes mailbox_size_limit to LDA as rlimit
Alias: None
Product: Red Hat Powertools
Classification: Retired
Component: postfix   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-04-18 00:06 UTC by Damien Miller
Modified: 2008-05-01 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-20 13:01:00 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Damien Miller 2001-04-18 00:06:28 UTC
After installing RH7.1, I noticed that all deliveries to mailbox files of
50Mb started failing. After some kludging around with procmail (which
really should log errno on failed writes), I noticed that postfix's
mailbox_size_limit was being passed to procmail as a RLIMIT_FSIZE.

Setting mailbox_size_limit to an arbitrary large value worked around the
problem for me, but postfix should be fixed to reset rlimit before firing
off the LDA.

Comment 1 Daniel Roesen 2001-04-18 08:23:40 UTC
AFAIK that's just intended behaviour. That's what mailbox_size_limit is for in
the first place.

Comment 2 Damien Miller 2001-04-20 12:39:33 UTC
It wasn't expected behaviour in any case (I would expect an implicit size limit
to apply only to postfix's own LDA), and it was painful to debug because
procmail doesn't log errno for failed writes to mboxes even in verbose mode.

Comment 3 Daniel Roesen 2001-04-20 12:58:42 UTC
intended (by the author) != expected (by the user)

We had this discussion on postfix-user mailinglist. Wietse's mails lead me to
the claim that it is _intended_ behaviour by the author.

If you want to have different semantics you've got to contact Wietse
(wietse@porcupine.org) or even better discuss on postfix-users mailing list.

I still think RESOLVED/NOTABUG is the correct resolution.

Comment 4 Daniel Roesen 2001-04-20 13:00:54 UTC
BTW: you can disable the limit by

mailbox_size_limit = 0

Note You need to log in before you can comment on or make changes to this bug.