From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 08:38:13 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 1653E16A4CE for ; Tue, 2 Dec 2003 08:38:13 -0800 (PST) Received: from theatre.msu.edu (theatre.msu.edu [35.8.69.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1D4C43FEA for ; Tue, 2 Dec 2003 08:38:03 -0800 (PST) (envelope-from sagejona@theatre.msu.edu) Received: from theatre.msu.edu (12-210-65-147.client.attbi.com [12.210.65.147]) (authenticated bits=0) by theatre.msu.edu (8.12.10/8.12.10) with ESMTP id hB2Gc2x4057575 for ; Tue, 2 Dec 2003 11:38:02 -0500 (EST) (envelope-from sagejona@theatre.msu.edu) Message-ID: <3FCCBFEB.7050702@theatre.msu.edu> Date: Tue, 02 Dec 2003 11:38:03 -0500 From: "Jonathan T. Sage" Organization: MSU Dept of Theatre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.81.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig282A83108CDC13AA2137F27C" Subject: [Fwd: Re: 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:38:13 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig282A83108CDC13AA2137F27C Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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) hope this helps ~jon - "Yesterday upon the stair I saw a man who wasn't there, he wasn't there again today, oh how i wish he'd go away" Rev. Jonathan T. Sage Lighting / Set Designer Professional Web Design [HTTP://thr.msu.edu] [wisesage98@yahoo.com] [PGP: www.keyserver.net] -- "Yesterday upon the stair I saw a man who wasn't there, he wasn't there again today, oh how i wish he'd go away" Rev. Jonathan T. Sage Lighting / Set Designer Professional Web Design [HTTP://thr.msu.edu] [wisesage98@yahoo.com] [PGP: www.keyserver.net] --------------enig282A83108CDC13AA2137F27C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/zL/roVmW2UUup/ERAv6cAJ0eKMf1HEpvgdSWKxkdoksHiR1c+gCgpOl2 SHXxFalBEeqNxemMBs9t2GY= =eMxz -----END PGP SIGNATURE----- --------------enig282A83108CDC13AA2137F27C--