From owner-freebsd-questions Thu Dec 6 13:57: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from carbon.btinternet.com (carbon.btinternet.com [194.73.73.92]) by hub.freebsd.org (Postfix) with ESMTP id 1C8C537B416 for ; Thu, 6 Dec 2001 13:57:05 -0800 (PST) Received: from host217-35-35-227.in-addr.btopenworld.com ([217.35.35.227] helo=marvin.penguinpowered.org.uk) by carbon.btinternet.com with esmtp (Exim 3.22 #8) id 16C6Vr-0003oE-00 for freebsd-questions@freebsd.org; Thu, 06 Dec 2001 21:57:03 +0000 Received: from [192.168.10.11] (helo=pan.realtime.co.uk) by marvin.penguinpowered.org.uk with esmtp (Exim 3.33 #1) id 16C6Zg-000ANY-00 for freebsd-questions@freebsd.org; Thu, 06 Dec 2001 22:01:00 +0000 Received: from waynep by pan.realtime.co.uk with local (Exim 3.33 #1) id 16C6Tg-0000pj-00 for freebsd-questions@freebsd.org; Thu, 06 Dec 2001 21:54:48 +0000 From: Wayne Pascoe To: freebsd-questions@freebsd.org Subject: reprocessing mail with procmail Date: 06 Dec 2001 21:54:48 +0000 Message-ID: <86lmggui8n.fsf@pan.home.penguinpowered.org.uk> Lines: 34 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Hi all, I have a batch of mail in /var/mail/user that I want to process into multiple mail boxes based on the To field. I have a .procmailrc that looks like this :0: * ^To.*1.* /home/user/mail/1 :0: * ^To.*2.* /home/user/mail/2 :0: * ^To.*3.* /home/user/mail/3 Running procmail -d user < /var/mail/user just doubles the size of the file /var/mail/user Any ideas what I'm doing wrong and how to fix it ? Thanks, -- - Wayne Pascoe | If there's anything more important than freebsd@molemanarmy.com | my ego around, I want it caught and shot http://www.molemanarmy.com | now! | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message