From owner-freebsd-questions@FreeBSD.ORG Wed May 16 00:54:38 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 0516516A404 for ; Wed, 16 May 2007 00:54:38 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id ADFBB13C46A for ; Wed, 16 May 2007 00:54:37 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 24872 invoked from network); 15 May 2007 19:54:37 -0500 Received: from 203-217-49-184.dyn.iinet.net.au (HELO localhost) (203.217.49.184) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 15 May 2007 19:54:35 -0500 Date: Wed, 16 May 2007 10:54:27 +1000 From: Norberto Meijome To: "Ian Lord" Message-ID: <20070516105427.08403dbb@localhost> In-Reply-To: <00a401c7970d$cf443030$6400a8c0@msdi.local> References: <00a401c7970d$cf443030$6400a8c0@msdi.local> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.12; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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: Wed, 16 May 2007 00:54:38 -0000 On Tue, 15 May 2007 12:26:36 -0400 "Ian Lord" wrote: [....] > The problem, is that the mail is coming from > > root@localhost.mydomain.com > > We have a spamfirewall and it rejects the mail saying localhost.mydomain.com > is invalid. > > Where can I change the address root@localhost.mydomain.com to > machinename@mydomain.com ? Hi Ian, set your hostname in /etc/rc.conf: it probably wouldn't hurt either to have name resolution properly setup (either via DNS or hosts file) B _________________________ {Beto|Norberto|Numard} Meijome "He has Van Gogh's ear for music." Billy Wilder I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.