From owner-freebsd-questions@FreeBSD.ORG Sat Oct 1 02:17:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B0FA106566B for ; Sat, 1 Oct 2011 02:17:02 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo102.cox.net (eastrmfepo102.cox.net [68.230.241.214]) by mx1.freebsd.org (Postfix) with ESMTP id C450E8FC08 for ; Sat, 1 Oct 2011 02:17:01 +0000 (UTC) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmfepo102.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111001021656.UFCP12239.eastrmfepo102.cox.net@eastrmimpo02.cox.net> for ; Fri, 30 Sep 2011 22:16:56 -0400 Received: from serene.no-ip.org ([98.164.86.236]) by eastrmimpo02.cox.net with bizsmtp id fEGv1h00455wwzE02EGvs5; Fri, 30 Sep 2011 22:16:55 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020205.4E867818.0010,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=oaIW6hvuqrvZuBstGxzMQDCn9/QU+BfQ2mb81G/9NAc= c=1 sm=1 a=iRCEOZejkgsA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=uAbGmPAyUfLL1M3oYAsfuA==:17 a=kviXuzpPAAAA:8 a=s1O25tkdAAAA:8 a=DLPgF4R0kQzoT6nYSm4A:9 a=1NaSTtMrcHDP48IAIGsA:7 a=CjuIK1q_8ugA:10 a=4vB-4DCPJfMA:10 a=OyOq_G8mXAEA:10 a=uAbGmPAyUfLL1M3oYAsfuA==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id p912Gtsl074840 for ; Fri, 30 Sep 2011 21:16:55 -0500 (CDT) (envelope-from conrads@cox.net) Date: Fri, 30 Sep 2011 21:16:50 -0500 From: "Conrad J. Sabatier" To: freebsd-questions@freebsd.org Message-ID: <20110930211650.36f9f99a@cox.net> In-Reply-To: <20110930204839.055720b4@cox.net> References: <20110930173713.1c37396f@cox.net> <20110930203136.31505a64@cox.net> <20110930204839.055720b4@cox.net> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: maildrop logging overwriting instead of appending X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2011 02:17:02 -0000 On Fri, 30 Sep 2011 20:48:39 -0500 "Conrad J. Sabatier" wrote: > On Fri, 30 Sep 2011 20:31:36 -0500 > "Conrad J. Sabatier" wrote: > > > On Fri, 30 Sep 2011 18:16:17 -0600 (MDT) > > Warren Block wrote: > > > > > On Fri, 30 Sep 2011, Conrad J. Sabatier wrote: > > > > > > > > Just one problem: on each invocation of maildrop, the logfile is > > > > being overwritten, rather than appended to. [snip] Doh! I just realized what was causing the log to be overwritten. When I was first setting up and testing my .mailfilter file, I put the following in my .forward file: "|exec /usr/local/bin/maildrop 2>Mail/maildrop.log || exit 75" Changing the redirection operator to ">>", of course, solved the problem. Sheesh, I feel almost as dumb as the author(s) of "Bumblebee". :-) Conrad, giving himself a well-deserved palm-whack on the forehead -- Conrad J. Sabatier conrads@cox.net"|exec /usr/local/bin/maildrop 2>Mail/maildrop.log || exit 75"