From owner-freebsd-questions Fri Aug 18 23:46:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id 9B6BB37B422 for ; Fri, 18 Aug 2000 23:46:46 -0700 (PDT) Received: from 149.211.6.64.reflexcom.com ([64.6.211.149]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Fri, 18 Aug 2000 23:45:35 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id XAA01900; Fri, 18 Aug 2000 23:46:39 -0700 (PDT) (envelope-from cjc) Date: Fri, 18 Aug 2000 23:46:39 -0700 From: "Crist J . Clark" To: Craig Critchley Cc: freebsd-questions Subject: Re: Forwarding mailbox contents Message-ID: <20000818234639.O28027@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <0a1801c00944$f4295730$0201010a@craigc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <0a1801c00944$f4295730$0201010a@craigc>; from craigc@fuzzer.com on Fri, Aug 18, 2000 at 11:48:52AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Aug 18, 2000 at 11:48:52AM -0700, Craig Critchley wrote: > I have a local user who has gone away. I'll be forwarding his mail to a new > account (no problem there) but I also want to forward any messages currently > sitting in his mailbox. Is there an easy way I (as root) can do that > without logging on to his account and manually forwarding each of his old > messages? > > This is on FreeBSD 3.2 running sendmail 8.9.3. Do you have procmail installed? Then just, # formail -s sendmail -t < /var/mail/user -- Crist J. Clark cjclark@alum.mit.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message