From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 05:06:48 2009 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 1DF2C106566B for ; Mon, 26 Jan 2009 05:06:48 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id C82AF8FC13 for ; Mon, 26 Jan 2009 05:06:47 +0000 (UTC) (envelope-from gnemmi@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so2291554yxb.13 for ; Sun, 25 Jan 2009 21:06:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=lwYLspv440mLgLcuYbyGFWG/jPefhd0bCjGsXLsCnpw=; b=d/Zvm0+KFJBcuZ11rTRfWmHi+/8M87/CU/shMFHuClUqTgffLXyvtvACxliQbPFibR gLXoR9VSA4c4On4FbxW667GqybJNIwwAcSXuq/SmdjUs0TaILHk4zeqMnBns+TVmfJRr 57KnmMVipHEuP1XCUvSAvu6askJ2Ry2V4ZOXo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=i/y6p+EeqKOb4hxjfRHj80iBMJi54JVNaCv+w21dhnoB8jrme2DWW0CHRKk297MU90 sVAVjbQdmzwizI3mTvDegLNP7pPi/vVQp7hXB+P8dBwUb0S+LveQwDSN890ewegkFQDM wdgYskl3moOutvsveCv34xoznpgy2CQ2614rc= Received: by 10.100.174.13 with SMTP id w13mr1135126ane.123.1232946407324; Sun, 25 Jan 2009 21:06:47 -0800 (PST) Received: from ?192.168.1.100? ([190.177.192.44]) by mx.google.com with ESMTPS id c28sm15381076anc.25.2009.01.25.21.06.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 Jan 2009 21:06:47 -0800 (PST) From: Gonzalo Nemmi To: freebsd-questions@freebsd.org Date: Mon, 26 Jan 2009 03:06:44 -0200 User-Agent: KMail/1.9.10 References: <497D0B57.8040804@comcast.net> <200901260031.24297.gnemmi@gmail.com> <497D3F25.5020400@comcast.net> In-Reply-To: <497D3F25.5020400@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901260306.44749.gnemmi@gmail.com> Cc: Rem P Roberti Subject: Re: Delivering system mail 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: Mon, 26 Jan 2009 05:06:48 -0000 On Monday 26 January 2009 2:42:13 am Rem P Roberti wrote: > On Sunday 25 January 2009 11:01:11 pm Rem P Roberti wrote: > > > I currently have to retrieve crontab generated system mail from the command > line. Is it possible to have system mail delivered to my Thunderbird > mail client? > > Rem > > > On a default system, you probably want to edit /etc/aliases an make root > mail get redirected to you ... > > In order to do so, open your /etc/aliases file, look for the line that > reads: > > # Pretty much everything else in this file points to "root", so > # you would do well in either reading root's mailbox or forwarding > # root's email from here. > > root: > > and edit it so it looks like this: > > # Pretty much everything else in this file points to "root", so > # you would do well in either reading root's mailbox or forwarding > # root's email from here. > > root: yourusername > > save the changes and run the following command as root: > > newaliases > > >From then on, all mail directed to "root" (like those crontab send) will > > be > > forwarded to you .. so all you need to do is set up your mail client to > pick up it's mail from /var/mail/yourusername and there you go :) > > Hope that helps. > > Regards > > > I had made the changes to aliases as soon as I set up the system. The > only thing that I have > yet to do is configure Thunderbird to go fetch user's mail. I'll try > setting up a a rule to > do that and see what happens. Thanks all for the help. > Rem Rem, you can do better than that .. AFAIK you can create a new account on Thunderbird and it'll create a new In-box for that account .. So, create a new account, name it "local mail" or something like that, and configure it so it fetches email messages from "localhost" or "localmail" or "/var/mail/yourusername" (instead of POP or IMAP) so every system generated mail will go straight to your new account mailbox avoiding the mixing of external and system mail .. thus .. ridding you from the need to create tedious rules to sort mail ;) Hope I helped. Regards -- Blessings Gonzalo Nemmi