Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Dec 2003 10:42:08 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        "Jonathan T. Sage" <sagejona@theatre.msu.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Periodic Scripts - Configuration problem?
Message-ID:  <3FCCC0E0.2050205@centtech.com>
In-Reply-To: <3FCCBF93.5000503@theatre.msu.edu>
References:  <3FCCBF93.5000503@theatre.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
------------------------------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FCCC0E0.2050205>