Where is my Logwatch gone?
oldman
talbotscott at cox.net
Sun Mar 11 20:43:50 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mikkel L. Ellertson wrote:
> 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.
>>
> A bit more information would help. Where are root's messages
> supposed to go? Is the host listed in /etc/hosts? What mail server
> are you running, and does it know it is supposed to deliver mail for
> that address locally?
>
> If you are using DHCP to configure your netowrk interface, then it
> may be that the mail server is trying to look up the hostname to
> send mail to using the name server(s) supplied by the router.
>
> Mikkel
Roots messages would normally be addressed to root, but I have the
/etc/aliases file set to route them to my user account. This is working
fine for sendmail is sending me all of these &^%% smart error messages
and they are showing up in the mailbox at /var/spool/mail/<myacctname>
also there is no /var/spool/mail/root
The hostname that I configured is in the /etc/hosts as is the default
'127.0.0.1 localhost.localdomain localhost' and the
'::1 localhost6.localdomain6 localhost6' lines.
The router has a dhcp server internally so yes I use that to set my
system. I don't believe that sendmail needs any further configuring on
that account as before I had the router, I was using dhcp to get my IP
address from my isp.
After that 1st message I found a configfile for logwatch and changed the
MailTo option within that. I hope that that will fix the problem. Also
just for superstition ran the newaliases command even though I have
restarted the machine a few times since changing the aliases file. With
any luck I will see a logwatch... Hmm just thinking...
Yes! I just ran the 0Logwach file and it seems to work now (why the heck
is it 0logwatch anyway?)
Thanks again Mikkel
Scott
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFF9GoF5mBKdb7VQEcRAg27AKCIoE3LMa2ZCPlbzsBec3+Q7qXtoQCeJKwK
xNONor22ktuLoWSOyoQWvzo=
=qQ7j
-----END PGP SIGNATURE-----
More information about the fedora-list
mailing list