From owner-freebsd-questions@FreeBSD.ORG Sat Feb 19 22:39:39 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 ACBBB106567A for ; Sat, 19 Feb 2011 22:39:39 +0000 (UTC) (envelope-from wodfer@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 652648FC15 for ; Sat, 19 Feb 2011 22:39:39 +0000 (UTC) Received: by yie19 with SMTP id 19so2118723yie.13 for ; Sat, 19 Feb 2011 14:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=/Nd1pS4smWSHlKR4jZeIrNxVmo0jyq/w9VWBn0ahdp0=; b=MdlqEELxAdxkOHHpqdgoW6lRxl8XJQgZKj1SQ4hLFXt0SjNgGsrJKjZvkNb7B4JUsi 3kPpHgE16vfWbEm8uAwdc/FvZYSZ/j8hyphLEzY9/NvgUseAYiX1Ma/Km7TVfbBPbkDD ATB4ShD3oBT5JOIoTH7uEIpgKmrtC24onzwMI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EG5P1WaOkDz5RxPvzCGhyd42R2nQjM0sFMt76d/jDeHNrzDHSm0JoM85QplcnFWUM6 9m3bTCPLq1NVe6+XGs+8ViuBFGIi451i7NOD+sgkXevU7MvOW7jZFQfClnpRBo4dVGoM XktgTBx+aII3zmVeohQ2YaM0AvOcgmjTf9Gsw= MIME-Version: 1.0 Received: by 10.90.100.8 with SMTP id x8mr3116448agb.53.1298155178718; Sat, 19 Feb 2011 14:39:38 -0800 (PST) Received: by 10.90.103.13 with HTTP; Sat, 19 Feb 2011 14:39:38 -0800 (PST) In-Reply-To: <20110219221442.39aacc81@gumby.homeunix.com> References: <1837CB358903EB8C60F348FA@mac-pro.magehandbook.com> <20110219221442.39aacc81@gumby.homeunix.com> Date: Sat, 19 Feb 2011 23:39:38 +0100 Message-ID: From: Andy Wodfer To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2011 22:39:39 -0000 On Sat, Feb 19, 2011 at 11:14 PM, RW wrote: > On Sat, 19 Feb 2011 22:39:59 +0100 > Andy Wodfer wrote: > > > I already tried something similare, but I keep getting command not > > found for formail. I was hoping there was a way of doing this without > > installing additional software - just use what comes with a default > > FreeBSD installation. > > formail is installed as part of the procmail package. Check for typos > and that PATH is set correctly. > 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? Cheers, Andreas