From owner-freebsd-stable@FreeBSD.ORG Tue Feb 21 09:49:20 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAD071065672 for ; Tue, 21 Feb 2012 09:49:20 +0000 (UTC) (envelope-from jeremie@le-hen.org) Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [IPv6:2a01:e0c:1:1599::14]) by mx1.freebsd.org (Postfix) with ESMTP id 254098FC18 for ; Tue, 21 Feb 2012 09:49:18 +0000 (UTC) Received: from endor.tataz.chchile.org (unknown [82.233.239.98]) by smtp5-g21.free.fr (Postfix) with ESMTP id B4605D480C9; Tue, 21 Feb 2012 10:49:12 +0100 (CET) Received: from felucia.tataz.chchile.org (felucia.tataz.chchile.org [192.168.1.9]) by endor.tataz.chchile.org (Postfix) with ESMTP id 7D5CC23D6; Tue, 21 Feb 2012 09:49:11 +0000 (UTC) Received: by felucia.tataz.chchile.org (Postfix, from userid 1000) id 641D23671; Tue, 21 Feb 2012 09:49:11 +0000 (UTC) Date: Tue, 21 Feb 2012 10:49:11 +0100 From: Jeremie Le Hen To: Phil Murray Message-ID: <20120221094911.GD37684@felucia.tataz.chchile.org> References: <20120219213607.GO31770@felucia.tataz.chchile.org> <98300781-0B38-45FA-9BA7-737619BA07F5@nevada.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <98300781-0B38-45FA-9BA7-737619BA07F5@nevada.net.nz> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Jeremie Le Hen , freebsd-stable@freebsd.org Subject: Re: "File too large" error when appending to a file of 130 MB X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 09:49:20 -0000 Hi Phil, On Tue, Feb 21, 2012 at 02:24:39PM +1300, Phil Murray wrote: > > On 20/02/2012, at 10:36 AM, Jeremie Le Hen wrote: > > > > I have a problem with procmail which gets a "File too large" error when > > it tries to write at the end of some mailbox file. > > Is procmail running from Postfix (or some other MTA)? I've hit this > problem where Postfix has set a filesize ulimit, which all the scripts > spawned from Postfix will inherit. > > In my case, I had a script that was hitting the filesize limit trying > to log it's results to a logfile that doesn't get rotated. I imagine > the same thing could happen with procmail, if postfix was calling it. Yes that was the problem indeed. Someone already contacted me (privately, but I didn't notice at that time) pointing out the problem. I've disabled the mailbox_size_limit in Postfix and the problem vanished. Thanks for your help. Regards, -- Jeremie Le Hen Men are born free and equal. Later on, they're on their own. Jean Yanne