From owner-freebsd-current@FreeBSD.ORG Tue Dec 2 08:42:26 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF2D516A4CE for ; Tue, 2 Dec 2003 08:42:26 -0800 (PST) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E6F543FE1 for ; Tue, 2 Dec 2003 08:42:25 -0800 (PST) (envelope-from anderson@centtech.com) Received: from centtech.com (neutrino.centtech.com [10.177.171.220]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id hB2GgO6T091265; Tue, 2 Dec 2003 10:42:24 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <3FCCC0E0.2050205@centtech.com> Date: Tue, 02 Dec 2003 10:42:08 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jonathan T. Sage" References: <3FCCBF93.5000503@theatre.msu.edu> In-Reply-To: <3FCCBF93.5000503@theatre.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: Periodic Scripts - Configuration problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 16:42:27 -0000 Jonathan T. Sage wrote: > Jack.W.Parks@alltel.com wrote: > >> I recently change the hostname of my FreeBSD host to remove a hyphen >> from the name (i.e. skrap-node to skrapnode) Since then, all of the >> periodic output scripts send their mail output to >> root@skrap-node.skrap.net instead of root@skrapnode.skrap.net. Only the >> mail delivery failures make it to my inbox. Mail works fine for all >> users, this just affects the periodic scripts. >> >> I have tried grep'ing for the incorrect hostname in the >> /etc/periodic/blah... But haven't found anything. > > the easiest thing to check right now is the output of "hostname". > also, i *think* that the periodic scripts send mail to root (i.e., > they don't add the domain), so perhaps sendmail is adding this? > try: > # sendmail -bv root > > if that is the case, check /etc/mail/sendmail.cf for the hardcoded > hostname, or give sendmail a bit of -HUP (make restart in /etc/mail) Also, check /etc/mail/aliases, and /etc/hosts Eric -- ------------------------------------------------------------------ Eric Anderson Systems Administrator Centaur Technology All generalizations are false, including this one. ------------------------------------------------------------------