[Fwd: Re: Periodic Scripts - Configuration problem?]

2003-12-02 Thread Jonathan T. Sage
[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?

2003-12-02 Thread Lowell Gilbert
Steve Bertrand <[EMAIL PROTECTED]> writes:

> On Tue, 2003-12-02 at 11:18, [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.
> > 
> 
> Do you have anything still funky in your /etc/mail/aliases or other
> files that may have influence on the flow of mail?

Or /etc/hosts, maybe?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Periodic Scripts - Configuration problem?

2003-12-02 Thread Steve Bertrand
On Tue, 2003-12-02 at 11:18, [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.
> 

Do you have anything still funky in your /etc/mail/aliases or other
files that may have influence on the flow of mail?

Steve

> I have tried grep'ing for the incorrect hostname in the
> /etc/periodic/blah... But haven't found anything. 
> 
> skrapnode# uname -a
> FreeBSD skrapnode.skrap.net 5.2-BETA FreeBSD 5.2-BETA #0: Sun Nov 23
> 00:01:14 CST 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> 
> skrapnode# more /etc/hosts
> 127.0.0.1   localhost.skrap.net localhost
> 192.168.1.200   skrapnode.skrap.net skrapnode 
> 192.168.1.200   skrapnode.skrap.net.
> skrapnode# 
> 
> skrapnode# more /etc/rc.conf 
> 
> # -- sysinstall generated deltas -- # Sat Nov 22 10:46:24 2003
> # Created: Sat Nov 22 10:46:24 2003
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="192.168.1.1"
> hostname="skrapnode.skrap.net"
> ifconfig_fxp0="inet 192.168.1.200  netmask 255.255.255.0"
> kern_securelevel_enable="NO"
> linux_enable="YES"
> sendmail_enable="YES"
> sshd_enable="YES"
> usbd_enable="YES"
> skrapnode# 
> 
> Jack W. Parks IV
> Sr. Network Engineer
> ALLTEL Communications
> jack.w.parks-at-alltel.com
> Work: 501-905-5961
> Cell: 501-680-3341
>  
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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