Sending log file to an Email Address
Oluwagbenga Shobowale
gshobowale at nextworksltd.com
Fri Apr 21 13:11:13 UTC 2006
Hi Andrew,
-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] 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 at corusgroup.com
> [mailto:Andrew.Bridgeman at corusgroup.com]
> 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 at corusgroup.com, 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
More information about the redhat-list
mailing list