Jonathan T. Sage wrote:

[EMAIL PROTECTED] 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
[EMAIL PROTECTED] instead of [EMAIL PROTECTED]  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.
------------------------------------------------------------------


_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to