From owner-freebsd-questions@FreeBSD.ORG Tue May 15 21:41:48 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 F072B16A408 for ; Tue, 15 May 2007 21:41:48 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id BC09A13C45A for ; Tue, 15 May 2007 21:41:48 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l4FLcFWd045745; Tue, 15 May 2007 17:38:15 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l4FLcFHa045744; Tue, 15 May 2007 17:38:15 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 15 May 2007 17:38:15 -0400 From: Jerry McAllister To: Oliver Peter Message-ID: <20070515213815.GA45661@gizmo.acns.msu.edu> References: <00a401c7970d$cf443030$6400a8c0@msdi.local> <20070515212603.GD27529@nemesis.frida.mouhaha.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070515212603.GD27529@nemesis.frida.mouhaha.de> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org, Ian Lord Subject: Re: Newbie Question: Mail from from cron jobs... 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: Tue, 15 May 2007 21:41:49 -0000 On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote: > On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote: > > ... > > > > Where can I change the address root@localhost.mydomain.com to > > machinename@mydomain.com ? Look in the file /etc/mail/aliases You can alias root to go to your favorite address. Don't forget to run newaliases(1) after editing the file. Of course, doing this will mean that all mail to root will go to you. ////jerry > > Did you set up your hostname correctly in /etc/rc.conf ? > Furthermore you need to tell your MTA how your hostname is called. > > -- > Oliver PETER, email: hoschi@mouhaha.de, ICQ# 113969174 > "Worker bees can leave. Even drones can fly away. The Queen is their slave."