From owner-freebsd-questions@FreeBSD.ORG Tue Sep 27 04:43:15 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1665616A41F for ; Tue, 27 Sep 2005 04:43:15 +0000 (GMT) (envelope-from josefsen@wasd.dk) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B5B043D53 for ; Tue, 27 Sep 2005 04:43:14 +0000 (GMT) (envelope-from josefsen@wasd.dk) X-T2-Posting-ID: KGmt/d/wOu6Babj+G0YSeg== Received: from tycho.ique.dk ([83.72.135.6] verified) by mailfe01.swip.net (CommuniGate Pro SMTP 4.3.4) with ESMTP id 64735905 for freebsd-questions@freebsd.org; Tue, 27 Sep 2005 06:43:12 +0200 Received: by tycho.ique.dk (Postfix, from userid 1001) id AFE2D9B43D; Tue, 27 Sep 2005 06:43:48 +0200 (CEST) Date: Tue, 27 Sep 2005 06:43:48 +0200 From: Brian Josefsen To: freebsd-questions@freebsd.org Message-ID: <20050927044348.GA56726@wasd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Value-Of-Pi: 3.1428571428571428 User-Agent: Mutt/1.5.10i Subject: using procmail rules to handle old maildir 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: Tue, 27 Sep 2005 04:43:15 -0000 Hello all I don't know if it's appropriate to ask this question here, but now i'll give it a try. I've set up postfix on a new box with maildir support, and i've been using procmail to deliver all my mail, so i now have the rules i've always missed. Then i've taken a tarball from the vhosting environment from the old server, so i have now a Maildir that i use, with all my new mail in it, and another Maildir with all the old mail. Now i would like to sort all my old mail using the procmail rules i have now, it could be as easy as: cd oldmaildir procmail < find . -type f -exec echo {} \; but procmail don't delete the mail from the old maildir, and since there is ~9k mail, i would hate to first filter all of it, and then go manually through all of it again. Anyone out there with any idea to solve this would be highly appreciated as i depend on "quick" access to old mail. FreeBSD 5.4, latest procmail, mutt zsh. -- Med venlig hilsen / Best regards Brian Josefsen