From owner-freebsd-questions@FreeBSD.ORG Sat Oct 1 01:48:51 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 E37751065670 for ; Sat, 1 Oct 2011 01:48:51 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepo203.cox.net (eastrmfepo203.cox.net [68.230.241.218]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0C08FC0C for ; Sat, 1 Oct 2011 01:48:51 +0000 (UTC) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmfepo203.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20111001014845.BRDV3766.eastrmfepo203.cox.net@eastrmimpo03.cox.net> for ; Fri, 30 Sep 2011 21:48:45 -0400 Received: from serene.no-ip.org ([98.164.86.236]) by eastrmimpo03.cox.net with bizsmtp id fDok1h00h55wwzE02DolZu; Fri, 30 Sep 2011 21:48:45 -0400 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020207.4E86717D.0079,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=ASjpOCvEPoSfhuYnpalwTqAN2s78hBywh12H8bbbxwo= c=1 sm=1 a=iRCEOZejkgsA:10 a=G8Uczd0VNMoA:10 a=kj9zAlcOel0A:10 a=uAbGmPAyUfLL1M3oYAsfuA==:17 a=kviXuzpPAAAA:8 a=s1O25tkdAAAA:8 a=RYnrgUj47YJzXorZgCAA:9 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 p911miK4004847 for ; Fri, 30 Sep 2011 20:48:44 -0500 (CDT) (envelope-from conrads@cox.net) Date: Fri, 30 Sep 2011 20:48:39 -0500 From: "Conrad J. Sabatier" To: freebsd-questions@freebsd.org Message-ID: <20110930204839.055720b4@cox.net> In-Reply-To: <20110930203136.31505a64@cox.net> References: <20110930173713.1c37396f@cox.net> <20110930203136.31505a64@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 01:48:52 -0000 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. > > > > > > I have the following in my .mailfilter file (this is outside of > > > any specific filtering rule): > > > > > > logfile "Mail/maildrop.log" > > > > Maybe use an absolute path like "~/Mail/maildrop.log" or > > "$HOME/Mail/maildrop.log"? > > Well, I'll try that. The Mail/maildrop.log *is* being written to, but > I've only seen at most a single delivery noted in it each time I've > looked. Kinda weird. Let me correct that: I'm seeing the deliveries for a single instance of maildrop only each time, not necessarily just a single delivery. > Let me see if an absolute path will somehow make a difference... Well, that didn't have any effect. Just tried using: logfile "${HOME}/Mail/maildrop.log" Same behavior. This is really odd. Maybe I'll try rebuilding/ reinstalling maildrop. May be some quirk related to having built it under 9.0-BETA2 and then running it now under 9.0-BETA3? Who knows? :-) Anyway, like I just mentioned in #bsdports a few minutes ago, maildrop is already working so well, I hardly even need any logging. But I'd still like to clear up this mystery. I hate things like this! :-) As an aside to anyone still hesitant to convert from procmail to maildrop: Fear not! It's a remarkably easy transition, and the .mailfilter syntax is *so* much less arcane than procmail's. A real breath of fresh air, if I do say so. :-) -- Conrad J. Sabatier conrads@cox.net