Periodic Scripts - Configuration problem?
Steve Bertrand
iaccounts at northnetworks.ca
Tue Dec 2 08:28:26 PST 2003
On Tue, 2003-12-02 at 11:18, 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.
>
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
> root at skrapnode.skrap.net:/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
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list