From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 08:18:56 2003 Return-Path: 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 1782F16A4CE for ; Tue, 2 Dec 2003 08:18:56 -0800 (PST) Received: from scarlitlx023.alltel.com (scarlitlx023.alltel.com [198.133.100.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 602BB43FE5 for ; Tue, 2 Dec 2003 08:18:52 -0800 (PST) (envelope-from Jack.W.Parks@alltel.com) Received: from scarlitlx024.alltel.com (scarlitlx022.alltel.com [10.33.8.73] (may be forged))hB2GIpTZ016498 for ; Tue, 2 Dec 2003 10:18:51 -0600 Received: from litexch7.alltel.com ([10.33.8.69])hB2GIotl004155 for ; Tue, 2 Dec 2003 10:18:50 -0600 (envelope-from Jack.W.Parks@alltel.com) X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 2 Dec 2003 10:18:51 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Periodic Scripts - Configuration problem? Thread-Index: AcO47/YzcZoIRnEJTzW274hhLQiwwg== From: To: Subject: Periodic Scripts - Configuration problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 16:18:56 -0000 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.=20 skrapnode# uname -a FreeBSD skrapnode.skrap.net 5.2-BETA FreeBSD 5.2-BETA #0: Sun Nov 23 00:01:14 CST 2003 root@skrapnode.skrap.net:/usr/obj/usr/src/sys/GENERIC i386 skrapnode# more /etc/hosts 127.0.0.1 localhost.skrap.net localhost 192.168.1.200 skrapnode.skrap.net skrapnode=20 192.168.1.200 skrapnode.skrap.net. skrapnode#=20 skrapnode# more /etc/rc.conf=20 # -- sysinstall generated deltas -- # Sat Nov 22 10:46:24 2003 # Created: Sat Nov 22 10:46:24 2003 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter=3D"192.168.1.1" hostname=3D"skrapnode.skrap.net" ifconfig_fxp0=3D"inet 192.168.1.200 netmask 255.255.255.0" kern_securelevel_enable=3D"NO" linux_enable=3D"YES" sendmail_enable=3D"YES" sshd_enable=3D"YES" usbd_enable=3D"YES" skrapnode#=20 Jack W. Parks IV Sr. Network Engineer ALLTEL Communications jack.w.parks-at-alltel.com Work: 501-905-5961 Cell: 501-680-3341 =20