From owner-freebsd-questions@FreeBSD.ORG Sun Feb 20 14:38:44 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7B43106566B for ; Sun, 20 Feb 2011 14:38:44 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id A9AF88FC0A for ; Sun, 20 Feb 2011 14:38:44 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id A269A2845B; Sun, 20 Feb 2011 09:38:43 -0500 (EST) Date: Sun, 20 Feb 2011 09:38:43 -0500 From: Daniel Staal To: Andy Wodfer , freebsd-questions@freebsd.org Message-ID: In-Reply-To: References: <1837CB358903EB8C60F348FA@mac-pro.magehandbook.com> <20110219221442.39aacc81@gumby.homeunix.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: How to forward old root mails to an external email address? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Feb 2011 14:38:44 -0000 --As of February 19, 2011 11:39:38 PM +0100, Andy Wodfer is alleged to have said: > Cool. Procmail is now installed, but the procmail.rc file, should that be > placed under root's home folder ie /root/procmail.rc or another user? I > assume root since Daniel's command doesn't specify any users? > > That would mean I'm logged in as root, run the command, formail sends all > mails to procmail which sees the alias in procmail rc and sends the mails > out? Correct? --As for the rest, it is mine. Well, it doesn't have to be root, just $home/.procmailrc of some user that can read /var/mail/root... Otherwise, correct. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. ---------------------------------------------------------------