[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)

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]
[EMAIL PROTECTED]
[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]
[EMAIL PROTECTED]
[PGP: www.keyserver.net]


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to