RE: Sending log file to an Email Address



Hi Andrew,

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx
[mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Lunt, Nick
Sent: Friday, April 21, 2006 1:55 PM
To: General Red Hat Linux discussion list
Subject: RE: Sending log file to an Email Address


Hi Andrew,

-----Original Message-----
From: Andrew.Bridgeman@xxxxxxxxxxxxxx
[mailto:Andrew.Bridgeman@xxxxxxxxxxxxxx]
Sent: 21 April 2006 13:55
To: General Red Hat Linux discussion list
Subject: RE: Sending log file to an Email Address




Thanks for reply Nick.

I have just done as you suggested but the e-mail did not come
through and
in the  /var/log/maillog i have the text below. It looks like
it is being
stopped by localhost. Do you know what i need to change to
get it to go
through.

Apr 21 13:34:58 sendmail[14026]: k3LCYwWS014026:
to=andrew.bridgeman@xxxxxxxxxxxxxx, ctladdr=root (0/0),
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31778,
relay=[127.0.0.1] [127.0.0.1],
dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

Sendmail has not been configured..check sendmail.mc
Add dnl to the line that has the loopback,
Then run m4 to generate a sendmail.cf
The instuctions should be in sendmail.mc

You either would be relaying to your Isp or resolving the address via
your DNS
Please read sendmail.mc.. Also check www.sendmail.org/m4/readme.html

Best regards
Oluwagbenga


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list