From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 13:22:00 2003 Return-Path: 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 1BEBD37B401 for ; Mon, 14 Jul 2003 13:22:00 -0700 (PDT) Received: from pursued-with.net (adsl-66-125-9-242.dsl.sndg02.pacbell.net [66.125.9.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F2AF43FAF for ; Mon, 14 Jul 2003 13:21:59 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Received: from babelfish.pursued-with.net (babelfish.pursued-with.net [192.168.168.42]) by pursued-with.net (8.12.8p1/8.12.8) with ESMTP id h6EKMiMs088781; Mon, 14 Jul 2003 13:22:44 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Date: Mon, 14 Jul 2003 13:22:44 -0700 (PDT) From: Kevin Stevens To: RYAN vAN GINNEKEN In-Reply-To: <20030714131054.C88726@babelfish.pursued-with.net> Message-ID: <20030714131912.A88726@babelfish.pursued-with.net> References: <3F130A29.7010703@computerking.ca> <20030714131054.C88726@babelfish.pursued-with.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: getting old mail from ro X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kevin_Stevens@pursued-with.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 20:22:00 -0000 On Mon, 14 Jul 2003, Kevin Stevens wrote: > On Mon, 14 Jul 2003, RYAN vAN GINNEKEN wrote: > > > anyone know how to send the mail in root's Maildir to another user i > > have forwarded the the root address already but need the mail that is > > already sitting in that account. > > If you install procmail there's an appropriate incantation to accomplish > this. If no one else posts it by this evening I can find it. > > KeS Here, I found the message. formail is part of the procmail port. This worked for me when I had the same question a few months ago: > > The question is: is there a way to take the messages he has > > accumulated in the local account mbox, and resubmit them to sendmail > > so that my server, recognizing that it is no longer authorized to > > receive mail for that domain, will go out and deliver them to his server? > > > >formail -Y -s /usr/sbin/sendmail user@new.address < /var/spool/mail/user. > >Leif Hope it helps. KeS