From owner-freebsd-questions Sat Aug 19 11:48:26 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 9B56037B424; Sat, 19 Aug 2000 11:48:24 -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); Sat, 19 Aug 2000 11:47:17 -0700 Received: (from cjc@localhost) by 149.211.6.64.reflexcom.com (8.9.3/8.9.3) id LAA07864; Sat, 19 Aug 2000 11:48:16 -0700 (PDT) (envelope-from cjc) Date: Sat, 19 Aug 2000 11:48:16 -0700 From: "Crist J . Clark" To: Ben Smithurst Cc: Craig Critchley , freebsd-questions Subject: Re: Forwarding mailbox contents Message-ID: <20000819114816.Q28027@149.211.6.64.reflexcom.com> Reply-To: cjclark@alum.mit.edu References: <0a1801c00944$f4295730$0201010a@craigc> <20000818234639.O28027@149.211.6.64.reflexcom.com> <20000819142235.H58928@strontium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20000819142235.H58928@strontium.scientia.demon.co.uk>; from ben@FreeBSD.org on Sat, Aug 19, 2000 at 02:22:35PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Aug 19, 2000 at 02:22:35PM +0100, Ben Smithurst wrote: > Crist J . Clark wrote: > > > Do you have procmail installed? Then just, > > > > # formail -s sendmail -t < /var/mail/user > > uh, I _really wouldn't_ use sendmail -t since if he's on any mailing > lists, you'll really make a mess. Unless this means something > different here, I'm not familiar with formail. I just use a little > program I wrote called 'split-mail' (may have been 'mail-split', > I can't remember) to do this sort of thing. It's available at > but it's > rather kludgy in places. Excellent point. This would be better, # formail -s sendmail user@newdom.com < /var/mail/user To redirect each message to only the new address. (Or even 'user' alone would work if the alias to the new address is all set up.) -- 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