Where is my Logwatch gone?

linuxmaillists at charter.net linuxmaillists at charter.net
Mon Mar 12 20:55:30 UTC 2007


On Monday 12 March 2007, oldman wrote:
> Tim wrote:
> > On Sun, 2007-03-11 at 00:18 -0800, oldman wrote:
> >>     I recently purchased a router, got it all set up
> >> most everything still works, but I do not get the
> >> daily logwatch message any longer on either my own
> >> log-in nor on root's.  I do get this spurious smart
> >> error message so the mail system is working, the
> >> aliases file is correct.
> >>
> >>     I did also change the localhost.localdomain via
> >> system-config-network and the smart message that I get
> >> indicates the hostname is the name I added.  I seem to
> >> have the same problem on FC6 and Rawhide, so I'm
> >> pretty sure it's something I didn't know about.
> >
> > How's your hostname set?  I had mine accidentally set
> > as a fully-qualified domain name (FQDN), rather than
> > just a hostname, so root mail was attempting to be sent
> > to the wrong place.
> >
> > e.g. a hostname:  "mine"
> >      a domainname:  "localhost.localdomain"
> >      a FQDN:  "mine.localhost.localdomain"
> >
> > The system adds the domain name to the hostname, trying
> > to make a fully qualified domain name.  Incorrectly
> > using "mine.localhost.localdomain" as the hostname,
> > results in an erroneous fully-qualified domain name
> > like: 
> > "mine.localhost.localdomain.localhost.localdomain",
> > which doesn't work.
>
> I think I have it fixed now, but just to be sure, in my
> /etc/hosts I have:
>
> 192.168.1.101   old.HOME        old
>
> which was duplicating the default 'localhost.localdomain
> localhost' that is there.  I understand that the final
> localhost is an alias (that is the term used in Network
> Manager) for localhost.localdomain, and every indication
> I have (mostly my bash prompt) says localhost=old. I was
> attempting to say that my computer was named old and my
> network (domain?) was HOME, but apparently I am incorrect
> here.
>
> BTW the fix (i hope) was that anacron is apparently not
> installed by default in F7T2!
>
> Thanks for any help!
>
> Scott

Set external hostname here

/etc/sysconfig/network

Set internal hostname here

/etc/hosts




More information about the fedora-list mailing list