From owner-freebsd-questions@FreeBSD.ORG Wed Apr 25 13:43:02 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 E3D3116A408 for ; Wed, 25 Apr 2007 13:43:02 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by mx1.freebsd.org (Postfix) with ESMTP id A36B013C4B0 for ; Wed, 25 Apr 2007 13:43:02 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so211066wra for ; Wed, 25 Apr 2007 06:43:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=CbL42GXRSGY+09p/N1+w7nhe9ZuNkifXFszfs00plaa4oiOmaU7ZM5xDznuJWR8D/sbx/M+TnymuYBYibkpg71kJ0O4EOD325F+ajDnwZKCXMfNLnWBE3QTbFKuvp6k9+gXOsC1h9ZjNZo/Mktn1xbK92AhLk5EZ/KXBY3+Wxl4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=lOFWXDGRD8UznXnRtXersY0BcSKmxaxAfeGTP5lnaGuK1Vd3YIUKJW2TT5IF0Dl9fGD2Vcz4FaAtQpgJBfXisfBnWaoVOFZqXqnG0CHxNlAENMR/9TcEGvRBC5dsLTmeIJU+3AwXcZP1AuaXuVO1KLtXuwlosBj2oiWTyR56HbI= Received: by 10.115.46.9 with SMTP id y9mr177796waj.1177508581687; Wed, 25 Apr 2007 06:43:01 -0700 (PDT) Received: by 10.114.193.12 with HTTP; Wed, 25 Apr 2007 06:43:01 -0700 (PDT) Message-ID: <23ed14b80704250643u40e836b5xff493e77c9c6da24@mail.gmail.com> Date: Wed, 25 Apr 2007 15:43:01 +0200 From: "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" To: freebsd-questions In-Reply-To: <462F51D3.9010500@ibctech.ca> MIME-Version: 1.0 References: <23ed14b80704250211l16756f5dkab26503c0f66e2a2@mail.gmail.com> <20070425095713.GA9767@nemesis.frida.mouhaha.de> <462F51D3.9010500@ibctech.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:43:03 -0000 On 4/25/07, Steve Bertrand wrote: > > 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 > Sweet! Thank you all for helping out. Cheers, Andreas