Re: Periodic Scripts - Configuration problem?
[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] pgp0.pgp Description: PGP signature
Re: Periodic Scripts - Configuration problem?
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]
Re: Periodic Scripts - Configuration problem?
Eric - this should have been sent to -questions, but i'm getting used to a new mailer (thunderbird), and i'm an idiot. Eric Anderson wrote: **big snip** **/me hides in shame for being stupid again** pgp0.pgp Description: PGP signature