Bug 36382

Summary: Postfix passes mailbox_size_limit to LDA as rlimit
Product: [Retired] Red Hat Powertools Reporter: Damien Miller <djm>
Component: postfixAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: dr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-04-20 13:01:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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) 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