From owner-freebsd-questions Thu Oct 18 9:48:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id C86E837B408 for ; Thu, 18 Oct 2001 09:48:19 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id f9IGmHl53421; Thu, 18 Oct 2001 11:48:17 -0500 (CDT) (envelope-from dan) Date: Thu, 18 Oct 2001 11:48:17 -0500 From: Dan Nelson To: Sheldon Hearn Cc: setantae , freebsd-questions@FreeBSD.ORG Subject: Re: Directory entries won't shrink Message-ID: <20011018114816.D97943@dan.emsphone.com> References: <20011018114233.C97943@dan.emsphone.com> <61955.1003423544@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61955.1003423544@axl.seasidesoftware.co.za> User-Agent: Mutt/1.3.23i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Oct 18), Sheldon Hearn said: > On Thu, 18 Oct 2001 11:42:33 EST, Dan Nelson wrote: > > Just renaming the directories should be enough. I don't know how > > exim works, but can you disable a particular spoolfile while you > > rename it, or simply kill -STOP exim while you run that for loop? > > It shouldn't take more than .01 second to run. > > I guess I could send 600 STOP signals. I'll take a look at how exim > deletes files on successful delivery. Just stopping the SMTP listener(s) should be enough. I'd be surprised if the delivery processes didn't chdir() to the appropriate spool directory as soon as possible and use relative paths from that point on. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message