Re: Logwatch report on another machine?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Dave Burns wrote:

>> How can I get the logwatch report on one machine (
>> sent to another machine ( on the same LAN?
>> I tried editing /etc/aliases on the first machine,
>> changing the last line to
>>        root:           [email protected]
>> (and running newaliases) but this did not do the trick.
> That should be good enough, *if* sendmail is working on that machine
> and that address doesn't bounce. If you do
> echo 'testing the client'|mutt -s 'testing client' 
> [email protected]
> do you ever get the email?

First of all, thanks for your response.
I tried the above command, but the mail did not get through.

Looking at /var/log/maillog on helen I see the lines
Jun  4 02:27:56 helen sendmail[10504]: m541RtCq010504:
[email protected], ctladdr=tim (500/500), delay=00:00:01,
xdelay=00:00:01, mailer=relay, pri=30326, relay=[] [],
dsn=2.0.0, stat=Sent (m541Rtds010505 Message accepted for delivery)
Jun  4 02:27:56 helen sendmail[10507]: m541Rtds010505:
to=<[email protected]>, ctladdr=<[email protected]> (500/500),
delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=120482, [], dsn=5.6.0, stat=Dataformat error
Jun  4 02:27:56 helen sendmail[10507]: m541Rtds010505: m541Ruds010507: DSN:
Data format error

I suspect this means the email was sent to my ISP, ,
who rejected the email on the grounds the address was unknown or wrong.

> I am also assuming you haven't tweaked the default config of logwatch.
> Speaking of which, you could try changing the "mailto" field in
> /etc/logwatch/conf/logwatch.conf.

This file was empty (except for a comment line) on my Fedora-9 system.
But I've added
MailTo = [email protected]
MailFrom = Logwatch
and will see if this does the trick.

fedora-list mailing list
[email protected]
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux