From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 13:04:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E983116A402 for ; Wed, 25 Apr 2007 13:04:13 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: from pearl.ibctech.ca (pearl.ibctech.ca [208.70.104.210]) by mx1.freebsd.org (Postfix) with ESMTP id 727E813C468 for ; Wed, 25 Apr 2007 13:04:13 +0000 (UTC) (envelope-from iaccounts@ibctech.ca) Received: (qmail 49565 invoked by uid 1002); 25 Apr 2007 13:04:12 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (spamassassin: 2.64. Clear:RC:1(208.70.107.100):. Processed in 6.489558 secs); 25 Apr 2007 13:04:12 -0000 Received: from unknown (HELO ?192.168.1.210?) (steve@ibctech.ca@208.70.107.100) by pearl.ibctech.ca with (DHE-RSA-AES256-SHA encrypted) SMTP; 25 Apr 2007 13:04:05 -0000 Message-ID: <462F51D3.9010500@ibctech.ca> Date: Wed, 25 Apr 2007 09:04:19 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: wodfer@gmail.com References: <23ed14b80704250211l16756f5dkab26503c0f66e2a2@mail.gmail.com> <20070425095713.GA9767@nemesis.frida.mouhaha.de> In-Reply-To: <20070425095713.GA9767@nemesis.frida.mouhaha.de> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: How do I forward old root emails from the root mailbox to my address? 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: Wed, 25 Apr 2007 13:04:14 -0000 Oliver Peter wrote: > On Wed, Apr 25, 2007 at 11:11:07AM +0200, Andreas Widere Andersen wrote: >> Hi, >> On one of my FreeBSD servers all system emails to root is stored in the root >> mailbox under /var/mail/root. I have updated my alias file so new mail is >> forwarded to one of my email adresses, but is there a simple way for me to >> send all these old mails in root's mailbox to my email address without >> logging in through pop3/imap? Perform the following command, assuming 'user' is the account you have with the alias to somewhere else: # mail -f /var/mail/root -F user ..which will merrily dump each message to the alias user, and from there forward it to your email account. Steve