Re: Periodic Scripts - Configuration problem?

From: Eric Anderson <anderson_at_centtech.com>
Date: Tue, 02 Dec 2003 10:42:08 -0600
Jonathan T. Sage wrote:

> Jack.W.Parks_at_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_at_skrap-node.skrap.net instead of root_at_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.
------------------------------------------------------------------
Received on Tue Dec 02 2003 - 07:42:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC