From owner-freebsd-questions@FreeBSD.ORG Fri Jun 2 13:31:17 2006 Return-Path: X-Original-To: questions@freebsd.org 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 DAC6216A45C for ; Fri, 2 Jun 2006 13:31:17 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 583C643D48 for ; Fri, 2 Jun 2006 13:31:17 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] ([69.27.149.254]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id k52DTs7G058749; Fri, 2 Jun 2006 08:30:16 -0500 (CDT) (envelope-from kdk@daleco.biz) Message-ID: <44803D48.4040701@daleco.biz> Date: Fri, 02 Jun 2006 08:29:44 -0500 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.2) Gecko/20060509 SeaMonkey/1.0.1 MIME-Version: 1.0 To: Robin Becker References: <44800F1D.50100@chamonix.reportlab.co.uk> <44801448.50009@chamonix.reportlab.co.uk> <200606021328.31894.Danovitsch@vitsch.net> <44802415.2030907@chamonix.reportlab.co.uk> In-Reply-To: <44802415.2030907@chamonix.reportlab.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Daan Vreeken \[PA4DAN\]" , questions@freebsd.org Subject: Re: qpopper for root 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: Fri, 02 Jun 2006 13:31:21 -0000 Robin Becker wrote: > Daan Vreeken [PA4DAN] wrote: >> Simply create a "normal" user and create a mail alias address so that >> all mail to root gets forwarded to the normal user. Then setup your >> mail client to login to pop3 using the username & passwd of the normal >> user. >> >> Setting up an alias is easy. Simply add the following line to >> /etc/aliases to forward root's email to normal_user : >> root: normal_user >> > > that's a good answer and will allow my despamming stuff to work on it. I > was hoping to be able to clear the root mailbox as well. Is there an > easy way to do that? cat /dev/null > /var/mail/root would do the trick ;-) (#include disclaimer.h) More useful might be: cp /var/mail/me /var/mail/me.bak mv /var/mail/root /var/mail/me (download root mail via POP or whatever) mv /var/mail/me.bak /var/mail/me YMMV, of course. Kevin Kinsey -- Scenary is here, wish you were beautiful.